From 22ff6e86f21a53dd612e2054836f9b26ff1a3d44 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Wed, 11 Sep 2024 15:58:07 +0200 Subject: [PATCH 01/18] take 1 --- include/eve/arch/cpu/logical_wide.hpp | 13 +++-- .../detail/function/simd/common/friends.hpp | 29 ---------- .../eve/module/core/regular/logical_and.hpp | 58 ++++++++----------- 3 files changed, 32 insertions(+), 68 deletions(-) diff --git a/include/eve/arch/cpu/logical_wide.hpp b/include/eve/arch/cpu/logical_wide.hpp index d2c1ad00a6..6017f8b58c 100644 --- a/include/eve/arch/cpu/logical_wide.hpp +++ b/include/eve/arch/cpu/logical_wide.hpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -274,23 +275,23 @@ namespace eve //============================================================================================== //! Perform a logical and operation between two eve::logical template - friend EVE_FORCEINLINE auto operator&&(logical const& v, logical> const& w) noexcept + friend EVE_FORCEINLINE auto operator&&(logical const& a, logical> const& b) noexcept { - return detail::self_logand(eve::current_api,v,w); + return logical_and(a, b); } //! Perform a logical and operation between a eve::logical and a scalar template - friend EVE_FORCEINLINE auto operator&&(logical const& v, S w) noexcept + friend EVE_FORCEINLINE auto operator&&(logical const& w, S s) noexcept { - return v && logical{w}; + return logical_and(w, logical{s}); } //! Perform a logical and operation between a scalar and a eve::logical template - friend EVE_FORCEINLINE auto operator&&(S v, logical const& w) noexcept + friend EVE_FORCEINLINE auto operator&&(S s, logical const& w) noexcept { - return w && v; + return logical_and(s, w); } //! Perform a logical or operation between two eve::logical diff --git a/include/eve/detail/function/simd/common/friends.hpp b/include/eve/detail/function/simd/common/friends.hpp index ebe1630ff2..02c62703f6 100644 --- a/include/eve/detail/function/simd/common/friends.hpp +++ b/include/eve/detail/function/simd/common/friends.hpp @@ -50,35 +50,6 @@ namespace eve::detail } } - //================================================================================================ - template - EVE_FORCEINLINE auto self_logand(cpu_ const&, logical> v, logical> w) noexcept - { - using abi_t = typename logical>::abi_type; - using abi_u = typename logical>::abi_type; - - // Both arguments are aggregated, we can safely slice - if constexpr( is_aggregated_v && is_aggregated_v ) - { - auto [vl, vh] = v.slice(); - auto [wl, wh] = w.slice(); - return logical> { self_logand(eve::current_api,vl, wl) - , self_logand(eve::current_api,vh, wh) - }; - } - else - { - if constexpr( !is_aggregated_v && !is_aggregated_v && (sizeof(T) == sizeof(U)) ) - { - return bit_cast ( v.bits() & w.bits(), as(v) ); - } - else - { - return self_logand(cpu_{}, v, convert(w, as>())); - } - } - } - //================================================================================================ template EVE_FORCEINLINE auto self_logor(cpu_ const&, logical> v, logical> w) noexcept diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index d29f4decf2..5a9ed0d193 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -17,20 +17,28 @@ namespace eve struct logical_and_t : strict_elementwise_callable { template - constexpr EVE_FORCEINLINE auto operator()(T a, U b) const noexcept -> decltype(a && b) - requires(eve::same_lanes_or_scalar) - { return EVE_DISPATCH_CALL(a, b); } + constexpr EVE_FORCEINLINE auto operator()(T a, U b) const noexcept + requires(eve::same_lanes_or_scalar) + { + return EVE_DISPATCH_CALL(a, b); + } template - constexpr EVE_FORCEINLINE U operator()(bool a, U b) const noexcept - { return EVE_DISPATCH_CALL(a, b); } + constexpr EVE_FORCEINLINE U operator()(bool a, U b) const noexcept + { + return EVE_DISPATCH_CALL(a, b); + } template - constexpr EVE_FORCEINLINE T operator()(T a, bool b) const noexcept - { return EVE_DISPATCH_CALL(a, b); } + constexpr EVE_FORCEINLINE T operator()(T a, bool b) const noexcept + { + return EVE_DISPATCH_CALL(a, b); + } constexpr EVE_FORCEINLINE bool operator()(bool a, bool b) const noexcept - { return EVE_DISPATCH_CALL(a, b); } + { + return EVE_DISPATCH_CALL(a, b); + } EVE_CALLABLE_OBJECT(logical_and_t, logical_and_); }; @@ -83,32 +91,16 @@ namespace eve namespace detail { - template - EVE_FORCEINLINE constexpr auto - logical_and_(EVE_REQUIRES(cpu_), O const &, T a, U b) noexcept + template + EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - using r_t = as_logical_t; - if constexpr( scalar_value && scalar_value ) return r_t(a && b); - else return a && b; + if constexpr (std::same_as) return a ? b : false_(as{}); + else if constexpr (std::same_as) return b ? a : false_(as{}); + else if constexpr (scalar_value && scalar_value) return a && b; + else if constexpr (scalar_value && simd_value) return logical_and(U{a}, b); + else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); + else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as{a}); + else return logical_and(a, convert(b, as{})); } - - template - EVE_FORCEINLINE constexpr - auto logical_and_(EVE_REQUIRES(cpu_), O const &, T a, bool b) noexcept - { - return b ? T {a} : false_(as()); - } - - template - EVE_FORCEINLINE constexpr - auto logical_and_(EVE_REQUIRES(cpu_), O const &, bool a, U b) noexcept - { - return a ? U {b} : false_(as()); - } - - template - EVE_FORCEINLINE constexpr - auto logical_and_(EVE_REQUIRES(cpu_), O const &, bool a, bool b) noexcept - { return a && b; } } } From c165f5a6525c368fe237151ab9006fac198d8dec Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Wed, 11 Sep 2024 17:14:15 +0200 Subject: [PATCH 02/18] added backends --- .../detail/function/simd/arm/sve/friends.hpp | 20 --------- .../detail/function/simd/riscv/friends.hpp | 21 --------- .../eve/detail/function/simd/x86/friends.hpp | 45 ------------------- .../regular/impl/simd/arm/sve/logical_and.hpp | 22 +++++++++ .../regular/impl/simd/riscv/logical_and.hpp | 22 +++++++++ .../regular/impl/simd/x86/logical_and.hpp | 29 ++++++++++++ .../eve/module/core/regular/logical_and.hpp | 12 +++++ 7 files changed, 85 insertions(+), 86 deletions(-) create mode 100644 include/eve/module/core/regular/impl/simd/arm/sve/logical_and.hpp create mode 100644 include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp create mode 100644 include/eve/module/core/regular/impl/simd/x86/logical_and.hpp diff --git a/include/eve/detail/function/simd/arm/sve/friends.hpp b/include/eve/detail/function/simd/arm/sve/friends.hpp index 3dbaec98f3..c2a21c00f6 100644 --- a/include/eve/detail/function/simd/arm/sve/friends.hpp +++ b/include/eve/detail/function/simd/arm/sve/friends.hpp @@ -42,26 +42,6 @@ EVE_FORCEINLINE auto self_geq(wide v, wide w) noexcept -> as_logical_t> requires sve_abi> { return svcmpge(sve_true(), v, w); } - -// --------------------------------------------------------- - -template -EVE_FORCEINLINE auto -self_logand(sve_ const&, logical> v, logical> w) noexcept -> logical> -requires(sve_abi> || sve_abi>) -{ - if constexpr(!is_aggregated_v>) - { - return svmov_z(v, convert(w, as>{})); - } - else - { - auto[lv,hv] = v.slice(); - auto[lw,hw] = w.slice(); - return logical>{ lv && lw, hv && hw}; - } -} - template EVE_FORCEINLINE auto self_logor(sve_ const&, logical> v, logical> w) noexcept -> logical> diff --git a/include/eve/detail/function/simd/riscv/friends.hpp b/include/eve/detail/function/simd/riscv/friends.hpp index ef708f0c56..3a4213aea9 100644 --- a/include/eve/detail/function/simd/riscv/friends.hpp +++ b/include/eve/detail/function/simd/riscv/friends.hpp @@ -213,27 +213,6 @@ requires rvv_abi> return __riscv_vmxor(lhs, rhs, N::value); } -template -EVE_FORCEINLINE auto -self_logand(rvv_ const&, logical> v, logical> w) noexcept - -> logical> -requires(rvv_abi> || rvv_abi>) -{ - if constexpr( !is_aggregated_v> && !is_aggregated_v> ) - { - auto casted_w = bit_cast(w, as>> {}); - logical> to_ret = __riscv_vmand(v, casted_w, N::value); - return to_ret; - } - else - { - auto [lv, hv] = v.slice(); - auto [lw, hw] = w.slice(); - auto res = logical> {lv && lw, hv && hw}; - return res; - } -} - template EVE_FORCEINLINE auto self_logor(rvv_ const&, logical> v, logical> w) noexcept diff --git a/include/eve/detail/function/simd/x86/friends.hpp b/include/eve/detail/function/simd/x86/friends.hpp index 17f1b61741..5a9af09ba5 100644 --- a/include/eve/detail/function/simd/x86/friends.hpp +++ b/include/eve/detail/function/simd/x86/friends.hpp @@ -17,51 +17,6 @@ namespace eve::detail { -//================================================================================================ -template -EVE_FORCEINLINE auto -self_logand(sse2_ const&, logical> v, logical> w) noexcept -requires(x86_abi> || x86_abi>) -{ - if constexpr( !use_is_wide_logical>::value ) - { - using abi_t = typename logical>::abi_type; - using abi_u = typename logical>::abi_type; - using storage_t = typename logical>::storage_type; - using m_t = std::conditional_t< is_aggregated_v - , typename logical>::storage_type - , storage_t - >; - using u_t = typename m_t::type; - - // We need to know which side is not aggregated to safely bit_cast its contents - auto cvt = [](auto a, auto b) - { - storage_t dst; - if constexpr( is_aggregated_v ) - { - u_t them = bit_cast(a.storage(),as()) & b.storage().value; - dst = bit_cast(them,as()); - } - else if constexpr( is_aggregated_v ) - { - dst.value = a.storage().value & bit_cast(b.storage(),as()); - } - else - { - dst.value = a.storage().value & b.storage().value; - } - return dst; - }; - - return logical>(cvt(v,w)); - } - else - { - return self_logand(cpu_ {}, v, w); - } -} - //================================================================================================ template EVE_FORCEINLINE auto diff --git a/include/eve/module/core/regular/impl/simd/arm/sve/logical_and.hpp b/include/eve/module/core/regular/impl/simd/arm/sve/logical_and.hpp new file mode 100644 index 0000000000..0425cf2242 --- /dev/null +++ b/include/eve/module/core/regular/impl/simd/arm/sve/logical_and.hpp @@ -0,0 +1,22 @@ +//================================================================================================== +/* + EVE - Expressive Vector Engine + Copyright : EVE Project Contributors + SPDX-License-Identifier: BSL-1.0 +*/ +//================================================================================================== +#pragma once + +#include +#include +#include + +namespace eve::detail +{ + template + EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(sve_), O const&, logical> v, logical> w) noexcept + requires(sve_abi> || sve_abi>) + { + return svmov_z(v, convert(w, as>{})); + } +} diff --git a/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp new file mode 100644 index 0000000000..9f70d0cc83 --- /dev/null +++ b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp @@ -0,0 +1,22 @@ +//================================================================================================== +/* + EVE - Expressive Vector Engine + Copyright : EVE Project Contributors + SPDX-License-Identifier: BSL-1.0 +*/ +//================================================================================================== +#pragma once + +#include +#include +#include + +namespace eve::detail +{ + template + EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(rvv_), O const&, logical> v, logical> w) noexcept + requires(rvv_abi> || rvv_abi>) + { + return __riscv_vmand(v, bit_cast(w, as>{}), N::value); + } +} diff --git a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp new file mode 100644 index 0000000000..137aa2fff1 --- /dev/null +++ b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp @@ -0,0 +1,29 @@ +//================================================================================================== +/* + EVE - Expressive Vector Engine + Copyright : EVE Project Contributors + SPDX-License-Identifier: BSL-1.0 +*/ +//================================================================================================== +#pragma once + +#include +#include +#include + +namespace eve::detail +{ + template + EVE_FORCEINLINE auto logical_and_(EVE_REQUIRES(sse2_), O const& opts, logical> a, logical> b) noexcept + requires (x86_abi> || x86_abi>) + { + if constexpr (use_is_wide_logical>::value) + { + return logical_and.behavior(cpu_{}, opts, a, b); + } + else + { + return a.storage().value & b.storage().value + } + } +} diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 5a9ed0d193..149bd5d056 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -104,3 +104,15 @@ namespace eve } } } + +#if defined(EVE_INCLUDE_X86_HEADER) +# include +#endif + +#if defined(EVE_INCLUDE_SVE_HEADER) +# include +#endif + +#if defined(EVE_INCLUDE_RISCV_HEADER) +# include +#endif From 011a5c3a133a83ede99d5644182a8df60473847b Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Wed, 11 Sep 2024 17:15:53 +0200 Subject: [PATCH 03/18] typo --- include/eve/module/core/regular/impl/simd/x86/logical_and.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp index 137aa2fff1..77e1b9d0a1 100644 --- a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp +++ b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp @@ -23,7 +23,7 @@ namespace eve::detail } else { - return a.storage().value & b.storage().value + return a.storage().value & b.storage().value; } } } From 54b73bdfde100bd6af688eb3a6129cb5c1d69baa Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Thu, 19 Sep 2024 15:52:57 +0200 Subject: [PATCH 04/18] allow booleans in common_logical --- .../regular/impl/simd/riscv/logical_and.hpp | 2 +- .../regular/impl/simd/x86/logical_and.hpp | 2 +- .../eve/module/core/regular/logical_and.hpp | 22 +------- include/eve/traits/common_value.hpp | 35 +++++++++--- test/unit/meta/traits/common_logical.cpp | 55 +++++++++++++++++++ 5 files changed, 85 insertions(+), 31 deletions(-) create mode 100644 test/unit/meta/traits/common_logical.cpp diff --git a/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp index 9f70d0cc83..1533c875a0 100644 --- a/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp +++ b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp @@ -17,6 +17,6 @@ namespace eve::detail EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(rvv_), O const&, logical> v, logical> w) noexcept requires(rvv_abi> || rvv_abi>) { - return __riscv_vmand(v, bit_cast(w, as>{}), N::value); + return __riscv_vmand(v, bit_cast(w, as>>{}), N::value); } } diff --git a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp index 77e1b9d0a1..118d236741 100644 --- a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp +++ b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp @@ -14,7 +14,7 @@ namespace eve::detail { template - EVE_FORCEINLINE auto logical_and_(EVE_REQUIRES(sse2_), O const& opts, logical> a, logical> b) noexcept + EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(sse2_), O const& opts, logical> a, logical> b) noexcept requires (x86_abi> || x86_abi>) { if constexpr (use_is_wide_logical>::value) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 149bd5d056..7c57112637 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -16,26 +16,8 @@ namespace eve template struct logical_and_t : strict_elementwise_callable { - template - constexpr EVE_FORCEINLINE auto operator()(T a, U b) const noexcept - requires(eve::same_lanes_or_scalar) - { - return EVE_DISPATCH_CALL(a, b); - } - - template - constexpr EVE_FORCEINLINE U operator()(bool a, U b) const noexcept - { - return EVE_DISPATCH_CALL(a, b); - } - - template - constexpr EVE_FORCEINLINE T operator()(T a, bool b) const noexcept - { - return EVE_DISPATCH_CALL(a, b); - } - - constexpr EVE_FORCEINLINE bool operator()(bool a, bool b) const noexcept + template + constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept { return EVE_DISPATCH_CALL(a, b); } diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index ea07dcfb83..5cfdc09d97 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -78,28 +78,45 @@ namespace eve::detail template struct common_logical_impl; + template + struct common_logical_impl : as_logical + {}; + template struct common_logical_impl : as_logical {}; - template - struct common_logical_impl : as_logical + template + struct common_logical_impl : as_logical {}; - template - struct common_logical_impl,logical> + template + struct common_logical_impl : as_logical + {}; + + template<> + struct common_logical_impl { - using type = logical, T, U>>; + using type = bool; }; - template - struct common_logical_impl,logical> + template + requires ((cardinal_v == 1) || (cardinal_v == 1) || (cardinal_v == cardinal_v)) + struct common_logical_impl, logical> { - using type = logical; + using type = logical< + std::conditional_t, + T, + std::conditional_t, + U, + T + > + > + >; }; template - requires(!(scalar_value && scalar_value) && requires{ typename common_value::type; } ) + requires(!(scalar_value && scalar_value && ((cardinal_v == 1) || (cardinal_v == 1) || (cardinal_v == cardinal_v))) && requires{ typename common_value::type; } ) struct common_logical_impl : as_logical::type> {}; } diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp new file mode 100644 index 0000000000..5a3a97ea0c --- /dev/null +++ b/test/unit/meta/traits/common_logical.cpp @@ -0,0 +1,55 @@ +//================================================================================================== +/** + EVE - Expressive Vector Engine + Copyright : EVE Project Contributors + SPDX-License-Identifier: BSL-1.0 +**/ +//================================================================================================== + +#include +#include "test.hpp" + +template struct rewrap; +template +struct rewrap> { using type = tts::types; }; + +template struct cartesian; + +template +struct cartesian, tts::types> +{ + using base = kumi::result::cartesian_product_t,kumi::tuple>; + using types_list = typename rewrap::type; +}; + +TTS_CASE_TPL("eve::common_logical on scalars" + , cartesian + ) +( tts::type> ) +{ + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); +}; + +TTS_CASE_TPL("eve::common_logical on wides" + , cartesian + ) +( tts::type> ) +{ + eve::detail::for_<1, 1, 9>([](auto i) { + constexpr auto card_v = 1 << i; + + if constexpr (card_v <= eve::expected_cardinal_v) { + using W = eve::wide>; + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + } + }); +}; From 40c67a6e7cf6935562038dcc21ad4f8043061980 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Thu, 19 Sep 2024 19:43:36 +0200 Subject: [PATCH 05/18] fixed common_logical impl --- .../eve/module/core/regular/logical_and.hpp | 5 +- include/eve/traits/common_value.hpp | 83 +++++++++--------- test/unit/meta/traits/common_logical.cpp | 85 ++++++++++++++----- 3 files changed, 109 insertions(+), 64 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 7c57112637..4f34c0bf3b 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -18,6 +18,7 @@ namespace eve { template constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept + requires same_lanes_or_scalar { return EVE_DISPATCH_CALL(a, b); } @@ -76,8 +77,8 @@ namespace eve template EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - if constexpr (std::same_as) return a ? b : false_(as{}); - else if constexpr (std::same_as) return b ? a : false_(as{}); + if constexpr (std::same_as) return logical_and(U{a}, b); + else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (scalar_value && scalar_value) return a && b; else if constexpr (scalar_value && simd_value) return logical_and(U{a}, b); else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index 5cfdc09d97..bf37fa3e48 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -21,7 +21,8 @@ namespace eve::detail struct find_common_value_reducer {}; template - struct find_common_value_reducer { + struct find_common_value_reducer + { using type = T; template @@ -29,13 +30,16 @@ namespace eve::detail find_common_value_reducer x, find_common_value_reducer y ) { - if constexpr (plain_scalar_value && plain_scalar_value) { + if constexpr (plain_scalar_value && plain_scalar_value) + { return find_common_value_reducer() + std::declval())>{}; } else if constexpr (scalar_value && arithmetic_simd_value) { return y; } else if constexpr (arithmetic_simd_value && (scalar_value || std::same_as)) { return x; - } else { + } + else + { return find_common_value_reducer{}; } } @@ -75,58 +79,51 @@ namespace eve namespace eve::detail { - template - struct common_logical_impl; + template + struct find_common_logical_reducer; - template - struct common_logical_impl : as_logical - {}; + template<> + struct find_common_logical_reducer {}; - template - struct common_logical_impl : as_logical - {}; + template + struct find_common_logical_reducer + { + using type = T; - template - struct common_logical_impl : as_logical - {}; + template + friend auto operator%( + find_common_logical_reducer x, + find_common_logical_reducer y + ) { + if constexpr (simd_value) return find_common_logical_reducer>{}; + else if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; + else if constexpr (std::same_as) return find_common_logical_reducer>{}; + else if constexpr (std::same_as) return find_common_logical_reducer>{}; + else if constexpr (scalar_value) return find_common_logical_reducer>{}; + else if constexpr (simd_value) return find_common_logical_reducer>>{}; + else return find_common_logical_reducer{}; + } + }; - template - struct common_logical_impl : as_logical - {}; + template + auto find_common_logical() -> typename decltype((find_common_logical_reducer{} % ...))::type; - template<> - struct common_logical_impl - { - using type = bool; - }; + template + struct common_logical_impl {}; - template - requires ((cardinal_v == 1) || (cardinal_v == 1) || (cardinal_v == cardinal_v)) - struct common_logical_impl, logical> + template + struct common_logical_impl())>, Ts...> { - using type = logical< - std::conditional_t, - T, - std::conditional_t, - U, - T - > - > - >; + using type = std::remove_cvref_t())>; }; - - template - requires(!(scalar_value && scalar_value && ((cardinal_v == 1) || (cardinal_v == 1) || (cardinal_v == cardinal_v))) && requires{ typename common_value::type; } ) - struct common_logical_impl : as_logical::type> - {}; } namespace eve { - template - using common_logical_t = typename eve::detail::common_logical_impl::type; + template + using common_logical_t = typename eve::detail::common_logical_impl::type; - template - struct common_logical : eve::detail::common_logical_impl + template + struct common_logical : eve::detail::common_logical_impl {}; } diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp index 5a3a97ea0c..f6c1075ca7 100644 --- a/test/unit/meta/traits/common_logical.cpp +++ b/test/unit/meta/traits/common_logical.cpp @@ -9,6 +9,25 @@ #include #include "test.hpp" +// S, Ls, b, W, Lw +// +// + +// W x W -> LW T + +// S x W -> Lw U +// S x Lw -> Lw U +// + +// Ls x W -> Lw U +// Ls x Lw -> Lw U +// +// W x S -> Lw T +// W x Ls -> Lw T +// +// Lw x S -> Lw T +// Lw x Ls -> Lw T + template struct rewrap; template struct rewrap> { using type = tts::types; }; @@ -21,35 +40,63 @@ struct cartesian, tts::types> using base = kumi::result::cartesian_product_t,kumi::tuple>; using types_list = typename rewrap::type; }; + +TTS_CASE("eve::common_logical on boolean x boolean") +{ + TTS_TYPE_IS((eve::common_logical_t), bool); +}; + +TTS_CASE_TPL("eve::common_logical on boolean x other" + , eve::test::simd::all_types + ) +(tts::type) +{ + using S = eve::element_type_t; + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, bool>), eve::logical); + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, bool>), eve::logical); +}; -TTS_CASE_TPL("eve::common_logical on scalars" +TTS_CASE_TPL("eve::common_logical on scalar x scalar" , cartesian ) ( tts::type> ) { - TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t), eve::logical); - - TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, U>), eve::logical); TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); }; -TTS_CASE_TPL("eve::common_logical on wides" +TTS_CASE_TPL("eve::common_logical on wide x wide" , cartesian ) -( tts::type> ) +( tts::type> ) { - eve::detail::for_<1, 1, 9>([](auto i) { - constexpr auto card_v = 1 << i; - - if constexpr (card_v <= eve::expected_cardinal_v) { - using W = eve::wide>; - - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - } - }); + using Wt = eve::wide; + using Wu = eve::wide; + + using uWt = eve::as_wide_as_t; + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, U>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); }; From f2a1dc8fd4233f4565a12803e6c33505ba508949 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Thu, 19 Sep 2024 20:54:14 +0200 Subject: [PATCH 06/18] fix --- include/eve/module/core/regular/logical_and.hpp | 2 +- include/eve/traits/common_value.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 4f34c0bf3b..5a141e8e75 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -80,7 +80,7 @@ namespace eve if constexpr (std::same_as) return logical_and(U{a}, b); else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (scalar_value && scalar_value) return a && b; - else if constexpr (scalar_value && simd_value) return logical_and(U{a}, b); + else if constexpr (scalar_value && simd_value) return logical_and(as_wide_as_t{a}, b); else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as{a}); else return logical_and(a, convert(b, as{})); diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index bf37fa3e48..c8317fa537 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -92,8 +92,8 @@ namespace eve::detail template friend auto operator%( - find_common_logical_reducer x, - find_common_logical_reducer y + find_common_logical_reducer, + find_common_logical_reducer ) { if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; From 131b561a0fc5cb9308cd3f59ce47bc67fa9bef81 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Fri, 20 Sep 2024 12:54:58 +0200 Subject: [PATCH 07/18] fixed missing case for bool x bool --- include/eve/module/core/regular/logical_and.hpp | 14 +++++++------- test/unit/module/core/logical_and.cpp | 8 ++++++++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 5a141e8e75..c8371a3fc2 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -77,13 +77,13 @@ namespace eve template EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - if constexpr (std::same_as) return logical_and(U{a}, b); - else if constexpr (std::same_as) return logical_and(a, T{b}); - else if constexpr (scalar_value && scalar_value) return a && b; - else if constexpr (scalar_value && simd_value) return logical_and(as_wide_as_t{a}, b); - else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as{a}); - else return logical_and(a, convert(b, as{})); + if constexpr ((scalar_value && scalar_value) || (std::same_as && std::same_as)) return a && b; + else if constexpr (std::same_as) return logical_and(U{a}, b); + else if constexpr (std::same_as) return logical_and(a, T{b}); + else if constexpr (scalar_value && simd_value) return logical_and(as_wide_as_t{a}, b); + else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); + else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as{a}); + else return logical_and(a, convert(b, as{})); } } } diff --git a/test/unit/module/core/logical_and.cpp b/test/unit/module/core/logical_and.cpp index ce03fff143..f43a0a4431 100644 --- a/test/unit/module/core/logical_and.cpp +++ b/test/unit/module/core/logical_and.cpp @@ -28,6 +28,14 @@ TTS_CASE_TPL("Check return types of eve::logical_and(simd)", eve::test::simd::al TTS_EXPR_IS(eve::logical_and(bool(), bool()), bool); }; +TTS_CASE("Check return types of eve::logical_and(bool)") +{ + TTS_EQUAL(eve::logical_and(true, true), true); + TTS_EQUAL(eve::logical_and(true, false), false); + TTS_EQUAL(eve::logical_and(false, true), false); + TTS_EQUAL(eve::logical_and(false, false), false); +}; + //================================================================================================== //== Tests for eve::logical_and //================================================================================================== From 29abcbdc430d0a9a790d82fb1313583aa69217cc Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Fri, 20 Sep 2024 13:09:20 +0200 Subject: [PATCH 08/18] riscv fix --- .../eve/module/core/regular/impl/simd/riscv/logical_and.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp index 1533c875a0..d5aeec4a4e 100644 --- a/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp +++ b/include/eve/module/core/regular/impl/simd/riscv/logical_and.hpp @@ -14,9 +14,9 @@ namespace eve::detail { template - EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(rvv_), O const&, logical> v, logical> w) noexcept + EVE_FORCEINLINE logical> logical_and_(EVE_REQUIRES(rvv_), O const&, logical> a, logical> b) noexcept requires(rvv_abi> || rvv_abi>) { - return __riscv_vmand(v, bit_cast(w, as>>{}), N::value); + return __riscv_vmand(a, bit_cast(b, as>>{}), N::value); } } From 7ea3c77f0d6388756e5078fe7a89f52a9e99e429 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Fri, 20 Sep 2024 15:53:15 +0200 Subject: [PATCH 09/18] avx512 fix --- include/eve/module/core/regular/impl/simd/x86/logical_and.hpp | 4 +++- include/eve/module/core/regular/logical_and.hpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp index 118d236741..86794e9ddc 100644 --- a/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp +++ b/include/eve/module/core/regular/impl/simd/x86/logical_and.hpp @@ -23,7 +23,9 @@ namespace eve::detail } else { - return a.storage().value & b.storage().value; + typename logical>::storage_type dst; + dst.value = a.storage().value & b.storage().value; + return dst; } } } diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index c8371a3fc2..0e9607ba95 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -77,12 +77,12 @@ namespace eve template EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - if constexpr ((scalar_value && scalar_value) || (std::same_as && std::same_as)) return a && b; + if constexpr ((scalar_value || std::same_as) && (scalar_value || std::same_as)) return a && b; else if constexpr (std::same_as) return logical_and(U{a}, b); else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (scalar_value && simd_value) return logical_and(as_wide_as_t{a}, b); else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as{a}); + else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as>{}); else return logical_and(a, convert(b, as{})); } } From 07fd84303864192b6df79f83216b0df0f3835795 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Tue, 24 Sep 2024 09:35:27 +0200 Subject: [PATCH 10/18] fix resolution problem --- include/eve/module/core/regular/logical_and.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 0e9607ba95..4acc063a16 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -75,7 +75,7 @@ namespace eve namespace detail { template - EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept + EVE_FORCEINLINE constexpr common_logical_t logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { if constexpr ((scalar_value || std::same_as) && (scalar_value || std::same_as)) return a && b; else if constexpr (std::same_as) return logical_and(U{a}, b); From b309af1b6a4cfacb91c9c9be75c7121db29828bb Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Thu, 26 Sep 2024 16:18:54 +0200 Subject: [PATCH 11/18] fix --- .clang-tidy | 40 + clang-tidy-output.txt | 102007 +++++++++++++++ include/eve/module/core/regular/if_else.hpp | 5 + .../eve/module/core/regular/logical_and.hpp | 2 +- include/eve/traits/common_value.hpp | 4 +- .../eve/traits/overload/default_behaviors.hpp | 28 +- test/unit/meta/traits/common_logical.cpp | 19 - test/unit/module/core/logical_and.cpp | 89 +- 8 files changed, 102144 insertions(+), 50 deletions(-) create mode 100644 .clang-tidy create mode 100644 clang-tidy-output.txt diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000000..0afe2e875b --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,40 @@ +Checks: > + -*, + bugprone-*, + clang-analyzer-*, + cppcoreguidelines-*, + misc-*, + modernize-*, + performance-*, + hicpp-*, + + -misc-const-correctness, + + -bugprone-exception-escape, + -bugprone-macro-parentheses, + -bugprone-easily-swappable-parameters, + -clang-analyzer-optin.core.EnumCastOutOfRange, + -cppcoreguidelines-avoid-magic-numbers, + -cppcoreguidelines-avoid-do-while, + -cppcoreguidelines-avoid-non-const-global-variables, + -cppcoreguidelines-init-variables, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-bounds-constant-array-index, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-macro-to-enum, + -modernize-use-trailing-return-type, + -modernize-use-std-numbers, + -modernize-macro-to-enum, + -misc-include-cleaner, + -misc-non-private-member-variables-in-classes, + -misc-use-internal-linkage, + -misc-confusable-identifiers, + -performance-avoid-endl, + -hicpp-uppercase-literal-suffix, + -hicpp-braces-around-statements, + -hicpp-named-parameter, + -hicpp-signed-bitwise + +HeaderFilterRegex: '.*' + +FormatStyle: file diff --git a/clang-tidy-output.txt b/clang-tidy-output.txt new file mode 100644 index 0000000000..454e1acb2e --- /dev/null +++ b/clang-tidy-output.txt @@ -0,0 +1,102007 @@ +Enabled checks: + bugprone-argument-comment + bugprone-assert-side-effect + bugprone-assignment-in-if-condition + bugprone-bad-signal-to-kill-thread + bugprone-bool-pointer-implicit-conversion + bugprone-branch-clone + bugprone-casting-through-void + bugprone-chained-comparison + bugprone-compare-pointer-to-member-virtual-function + bugprone-copy-constructor-init + bugprone-crtp-constructor-accessibility + bugprone-dangling-handle + bugprone-dynamic-static-initializers + bugprone-empty-catch + bugprone-fold-init-type + bugprone-forward-declaration-namespace + bugprone-forwarding-reference-overload + bugprone-implicit-widening-of-multiplication-result + bugprone-inaccurate-erase + bugprone-inc-dec-in-conditions + bugprone-incorrect-enable-if + bugprone-incorrect-roundings + bugprone-infinite-loop + bugprone-integer-division + bugprone-lambda-function-name + bugprone-macro-repeated-side-effects + bugprone-misplaced-operator-in-strlen-in-alloc + bugprone-misplaced-pointer-arithmetic-in-alloc + bugprone-misplaced-widening-cast + bugprone-move-forwarding-reference + bugprone-multi-level-implicit-pointer-conversion + bugprone-multiple-new-in-one-expression + bugprone-multiple-statement-macro + bugprone-narrowing-conversions + bugprone-no-escape + bugprone-non-zero-enum-to-bool-conversion + bugprone-not-null-terminated-result + bugprone-optional-value-conversion + bugprone-parent-virtual-call + bugprone-pointer-arithmetic-on-polymorphic-object + bugprone-posix-return + bugprone-redundant-branch-condition + bugprone-reserved-identifier + bugprone-return-const-ref-from-parameter + bugprone-shared-ptr-array-mismatch + bugprone-signal-handler + bugprone-signed-char-misuse + bugprone-sizeof-container + bugprone-sizeof-expression + bugprone-spuriously-wake-up-functions + bugprone-standalone-empty + bugprone-string-constructor + bugprone-string-integer-assignment + bugprone-string-literal-with-embedded-nul + bugprone-stringview-nullptr + bugprone-suspicious-enum-usage + bugprone-suspicious-include + bugprone-suspicious-memory-comparison + bugprone-suspicious-memset-usage + bugprone-suspicious-missing-comma + bugprone-suspicious-realloc-usage + bugprone-suspicious-semicolon + bugprone-suspicious-string-compare + bugprone-suspicious-stringview-data-usage + bugprone-swapped-arguments + bugprone-switch-missing-default-case + bugprone-terminating-continue + bugprone-throw-keyword-missing + bugprone-too-small-loop-variable + bugprone-unchecked-optional-access + bugprone-undefined-memory-manipulation + bugprone-undelegated-constructor + bugprone-unhandled-exception-at-new + bugprone-unhandled-self-assignment + bugprone-unique-ptr-array-mismatch + bugprone-unsafe-functions + bugprone-unused-local-non-trivial-variable + bugprone-unused-raii + bugprone-unused-return-value + bugprone-use-after-move + bugprone-virtual-near-miss + clang-analyzer-apiModeling.Errno + clang-analyzer-apiModeling.TrustNonnull + clang-analyzer-apiModeling.TrustReturnsNonnull + clang-analyzer-apiModeling.google.GTest + clang-analyzer-apiModeling.llvm.CastValue + clang-analyzer-apiModeling.llvm.ReturnValue + clang-analyzer-core.BitwiseShift + clang-analyzer-core.CallAndMessage + clang-analyzer-core.CallAndMessageModeling + clang-analyzer-core.DivideZero + clang-analyzer-core.DynamicTypePropagation + clang-analyzer-core.NonNullParamChecker + clang-analyzer-core.NonnilStringConstants + clang-analyzer-core.NullDereference + clang-analyzer-core.StackAddrEscapeBase + clang-analyzer-core.StackAddressEscape + clang-analyzer-core.UndefinedBinaryOperatorResult + clang-analyzer-core.VLASize + clang-analyzer-core.builtin.BuiltinFunctions + clang-analyzer-core.builtin.NoReturnFunctions + clang-analyzer-core.uninitialized.ArraySubscript + clang-analyzer-core.uninitialized.Assign + clang-analyzer-core.uninitialized.Branch + clang-analyzer-core.uninitialized.CapturedBlockVariable + clang-analyzer-core.uninitialized.NewArraySize + clang-analyzer-core.uninitialized.UndefReturn + clang-analyzer-cplusplus.ArrayDelete + clang-analyzer-cplusplus.InnerPointer + clang-analyzer-cplusplus.Move + clang-analyzer-cplusplus.NewDelete + clang-analyzer-cplusplus.NewDeleteLeaks + clang-analyzer-cplusplus.PlacementNew + clang-analyzer-cplusplus.PureVirtualCall + clang-analyzer-cplusplus.SelfAssignment + clang-analyzer-cplusplus.SmartPtrModeling + clang-analyzer-cplusplus.StringChecker + clang-analyzer-cplusplus.VirtualCallModeling + clang-analyzer-deadcode.DeadStores + clang-analyzer-fuchsia.HandleChecker + clang-analyzer-nullability.NullPassedToNonnull + clang-analyzer-nullability.NullReturnedFromNonnull + clang-analyzer-nullability.NullabilityBase + clang-analyzer-nullability.NullableDereferenced + clang-analyzer-nullability.NullablePassedToNonnull + clang-analyzer-nullability.NullableReturnedFromNonnull + clang-analyzer-optin.cplusplus.UninitializedObject + clang-analyzer-optin.cplusplus.VirtualCall + clang-analyzer-optin.mpi.MPI-Checker + clang-analyzer-optin.osx.OSObjectCStyleCast + clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker + clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker + clang-analyzer-optin.performance.GCDAntipattern + clang-analyzer-optin.performance.Padding + clang-analyzer-optin.portability.UnixAPI + clang-analyzer-optin.taint.TaintedAlloc + clang-analyzer-osx.API + clang-analyzer-osx.MIG + clang-analyzer-osx.NSOrCFErrorDerefChecker + clang-analyzer-osx.NumberObjectConversion + clang-analyzer-osx.OSObjectRetainCount + clang-analyzer-osx.ObjCProperty + clang-analyzer-osx.SecKeychainAPI + clang-analyzer-osx.cocoa.AtSync + clang-analyzer-osx.cocoa.AutoreleaseWrite + clang-analyzer-osx.cocoa.ClassRelease + clang-analyzer-osx.cocoa.Dealloc + clang-analyzer-osx.cocoa.IncompatibleMethodTypes + clang-analyzer-osx.cocoa.Loops + clang-analyzer-osx.cocoa.MissingSuperCall + clang-analyzer-osx.cocoa.NSAutoreleasePool + clang-analyzer-osx.cocoa.NSError + clang-analyzer-osx.cocoa.NilArg + clang-analyzer-osx.cocoa.NonNilReturnValue + clang-analyzer-osx.cocoa.ObjCGenerics + clang-analyzer-osx.cocoa.RetainCount + clang-analyzer-osx.cocoa.RetainCountBase + clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak + clang-analyzer-osx.cocoa.SelfInit + clang-analyzer-osx.cocoa.SuperDealloc + clang-analyzer-osx.cocoa.UnusedIvars + clang-analyzer-osx.cocoa.VariadicMethodTypes + clang-analyzer-osx.coreFoundation.CFError + clang-analyzer-osx.coreFoundation.CFNumber + clang-analyzer-osx.coreFoundation.CFRetainRelease + clang-analyzer-osx.coreFoundation.containers.OutOfBounds + clang-analyzer-osx.coreFoundation.containers.PointerSizedValues + clang-analyzer-security.FloatLoopCounter + clang-analyzer-security.PutenvStackArray + clang-analyzer-security.SetgidSetuidOrder + clang-analyzer-security.cert.env.InvalidPtr + clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling + clang-analyzer-security.insecureAPI.SecuritySyntaxChecker + clang-analyzer-security.insecureAPI.UncheckedReturn + clang-analyzer-security.insecureAPI.bcmp + clang-analyzer-security.insecureAPI.bcopy + clang-analyzer-security.insecureAPI.bzero + clang-analyzer-security.insecureAPI.decodeValueOfObjCType + clang-analyzer-security.insecureAPI.getpw + clang-analyzer-security.insecureAPI.gets + clang-analyzer-security.insecureAPI.mkstemp + clang-analyzer-security.insecureAPI.mktemp + clang-analyzer-security.insecureAPI.rand + clang-analyzer-security.insecureAPI.strcpy + clang-analyzer-security.insecureAPI.vfork + clang-analyzer-unix.API + clang-analyzer-unix.BlockInCriticalSection + clang-analyzer-unix.DynamicMemoryModeling + clang-analyzer-unix.Errno + clang-analyzer-unix.Malloc + clang-analyzer-unix.MallocSizeof + clang-analyzer-unix.MismatchedDeallocator + clang-analyzer-unix.StdCLibraryFunctions + clang-analyzer-unix.Stream + clang-analyzer-unix.Vfork + clang-analyzer-unix.cstring.BadSizeArg + clang-analyzer-unix.cstring.CStringModeling + clang-analyzer-unix.cstring.NullArg + clang-analyzer-valist.CopyToSelf + clang-analyzer-valist.Uninitialized + clang-analyzer-valist.Unterminated + clang-analyzer-valist.ValistBase + clang-analyzer-webkit.NoUncountedMemberChecker + clang-analyzer-webkit.RefCntblBaseVirtualDtor + clang-analyzer-webkit.UncountedLambdaCapturesChecker + cppcoreguidelines-avoid-c-arrays + cppcoreguidelines-avoid-capturing-lambda-coroutines + cppcoreguidelines-avoid-const-or-ref-data-members + cppcoreguidelines-avoid-goto + cppcoreguidelines-avoid-reference-coroutine-parameters + cppcoreguidelines-c-copy-assignment-signature + cppcoreguidelines-explicit-virtual-functions + cppcoreguidelines-interfaces-global-init + cppcoreguidelines-misleading-capture-default-by-value + cppcoreguidelines-missing-std-forward + cppcoreguidelines-narrowing-conversions + cppcoreguidelines-no-malloc + cppcoreguidelines-no-suspend-with-lock + cppcoreguidelines-noexcept-destructor + cppcoreguidelines-noexcept-move-operations + cppcoreguidelines-noexcept-swap + cppcoreguidelines-non-private-member-variables-in-classes + cppcoreguidelines-owning-memory + cppcoreguidelines-prefer-member-initializer + cppcoreguidelines-pro-bounds-array-to-pointer-decay + cppcoreguidelines-pro-bounds-constant-array-index + cppcoreguidelines-pro-type-const-cast + cppcoreguidelines-pro-type-cstyle-cast + cppcoreguidelines-pro-type-member-init + cppcoreguidelines-pro-type-reinterpret-cast + cppcoreguidelines-pro-type-static-cast-downcast + cppcoreguidelines-pro-type-union-access + cppcoreguidelines-pro-type-vararg + cppcoreguidelines-rvalue-reference-param-not-moved + cppcoreguidelines-slicing + cppcoreguidelines-special-member-functions + cppcoreguidelines-use-default-member-init + cppcoreguidelines-virtual-class-destructor + hicpp-avoid-c-arrays + hicpp-avoid-goto + hicpp-deprecated-headers + hicpp-exception-baseclass + hicpp-explicit-conversions + hicpp-function-size + hicpp-ignored-remove-result + hicpp-invalid-access-moved + hicpp-member-init + hicpp-move-const-arg + hicpp-multiway-paths-covered + hicpp-new-delete-operators + hicpp-no-array-decay + hicpp-no-assembler + hicpp-no-malloc + hicpp-noexcept-move + hicpp-special-member-functions + hicpp-static-assert + hicpp-undelegated-constructor + hicpp-use-auto + hicpp-use-emplace + hicpp-use-equals-default + hicpp-use-equals-delete + hicpp-use-noexcept + hicpp-use-nullptr + hicpp-use-override + hicpp-vararg + misc-coroutine-hostile-raii + misc-definitions-in-headers + misc-header-include-cycle + misc-misleading-bidirectional + misc-misleading-identifier + misc-misplaced-const + misc-new-delete-overloads + misc-no-recursion + misc-non-copyable-objects + misc-redundant-expression + misc-static-assert + misc-throw-by-value-catch-by-reference + misc-unconventional-assign-operator + misc-uniqueptr-reset-release + misc-unused-alias-decls + misc-unused-parameters + misc-unused-using-decls + misc-use-anonymous-namespace + modernize-avoid-bind + modernize-avoid-c-arrays + modernize-concat-nested-namespaces + modernize-deprecated-headers + modernize-deprecated-ios-base-aliases + modernize-loop-convert + modernize-make-shared + modernize-make-unique + modernize-min-max-use-initializer-list + modernize-pass-by-value + modernize-raw-string-literal + modernize-redundant-void-arg + modernize-replace-auto-ptr + modernize-replace-disallow-copy-and-assign-macro + modernize-replace-random-shuffle + modernize-return-braced-init-list + modernize-shrink-to-fit + modernize-type-traits + modernize-unary-static-assert + modernize-use-auto + modernize-use-bool-literals + modernize-use-constraints + modernize-use-default-member-init + modernize-use-designated-initializers + modernize-use-emplace + modernize-use-equals-default + modernize-use-equals-delete + modernize-use-nodiscard + modernize-use-noexcept + modernize-use-nullptr + modernize-use-override + modernize-use-ranges + modernize-use-starts-ends-with + modernize-use-std-format + modernize-use-std-print + modernize-use-transparent-functors + modernize-use-uncaught-exceptions + modernize-use-using + performance-enum-size + performance-faster-string-find + performance-for-range-copy + performance-implicit-conversion-in-loop + performance-inefficient-algorithm + performance-inefficient-string-concatenation + performance-inefficient-vector-operation + performance-move-const-arg + performance-move-constructor-init + performance-no-automatic-move + performance-no-int-to-ptr + performance-noexcept-destructor + performance-noexcept-move-constructor + performance-noexcept-swap + performance-trivially-destructible + performance-type-promotion-in-math-fn + performance-unnecessary-copy-initialization + performance-unnecessary-value-param + +Running clang-tidy for 1170 files out of 1170 in compilation database ... +[ 1/1170][8.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/nbmantissabits.cpp +45057 warnings generated. +Suppressed 45059 warnings (45057 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 2/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.cxx +/Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/simd/arm/neon/shr.hpp:19:12: error: use of undeclared identifier 'shl'; did you mean 'shr'? [clang-diagnostic-error] + 19 | return shl.behavior(as>{}, current_api, opts, w, -s); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/core/regular/shr.hpp:94:25: note: 'shr' declared here + 94 | inline constexpr auto shr = functor; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/simd/arm/neon/shr.hpp:26:12: error: use of undeclared identifier 'shl'; did you mean 'shr'? [clang-diagnostic-error] + 26 | return shl.behavior(as>{}, current_api, opts, w, -s); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/core/regular/shr.hpp:94:25: note: 'shr' declared here + 94 | inline constexpr auto shr = functor; + | ^ +55642 warnings and 2 errors generated. +Error while processing /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.cxx. +Suppressed 55678 warnings (55642 in non-user code, 36 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. +Found compiler error(s). + +[ 3/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acotpi.cpp +45654 warnings generated. +Suppressed 45656 warnings (45654 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 4/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atand.cpp +45954 warnings generated. +Suppressed 45956 warnings (45954 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 5/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ceil.cpp +46579 warnings generated. +Suppressed 46581 warnings (46579 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 6/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/agd.cpp +46837 warnings generated. +Suppressed 46839 warnings (46837 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 7/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fmod.cpp +46225 warnings generated. +Suppressed 46227 warnings (46225 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 8/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinhcosh.cpp +46560 warnings generated. +Suppressed 46562 warnings (46560 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 9/1170][15.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_64x1.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:37:41: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 37 | eve::element_type_t actual = shuffled_a[out_i++]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:42:25: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 42 | else expected = x_a[group_i * G + within_i]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +54098 warnings generated. +Suppressed 53580 warnings (53578 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 10/1170][19.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration_fixed_overflow.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'algo_test::test_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'algo_test::test_delegate>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration_fixed_overflow.hpp:91:11: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 91 | std::array arr; + | ^ + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:92:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 92 | if (is_always_aligned[i]) { continue; } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:97:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 97 | if (is_aligned[i]) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iteration_test.hpp:13:3: warning: constructor does not initialize these fields: data [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 13 | iteration_fixture() + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/iteration_test.hpp:25:49: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 25 | auto aligned_end() { return aligned_begin() + data.size(); } + | ^ +52466 warnings generated. +Suppressed 52055 warnings (52053 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 11/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/min.cpp +46160 warnings generated. +Suppressed 46162 warnings (46160 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 12/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/reverse.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:92:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 92 | if (is_always_aligned[i]) { continue; } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:97:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 97 | if (is_aligned[i]) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46721 warnings generated. +Suppressed 46285 warnings (46283 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 13/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acsch.cpp +46053 warnings generated. +Suppressed 46055 warnings (46053 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 14/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/struct_support.cpp +45262 warnings generated. +Suppressed 45264 warnings (45262 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 15/1170][46.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_adjacent.cpp +53931 warnings generated. +Suppressed 53933 warnings (53931 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 16/1170][31.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_denormal.cpp +52036 warnings generated. +Suppressed 52038 warnings (52036 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 17/1170][46.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_unset.cpp +54272 warnings generated. +Suppressed 54274 warnings (54272 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 18/1170][36.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_pi.cpp +53130 warnings generated. +Suppressed 53132 warnings (53130 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 19/1170][44.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog2.cpp +54604 warnings generated. +Suppressed 54606 warnings (54604 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 20/1170][57.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/zip.cpp +52050 warnings generated. +Suppressed 52052 warnings (52050 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 21/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_uinteger.cpp +51199 warnings generated. +Suppressed 51201 warnings (51199 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 22/1170][58.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asind.cpp +53329 warnings generated. +Suppressed 53331 warnings (53329 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 23/1170][51.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog10.cpp +55307 warnings generated. +Suppressed 55309 warnings (55307 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 24/1170][74.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_swap_pairs.cpp +56671 warnings generated. +Suppressed 56673 warnings (56671 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 25/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cos_1.cpp +53130 warnings generated. +Suppressed 53132 warnings (53130 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 26/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/div_180.cpp +45493 warnings generated. +Suppressed 45495 warnings (45493 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 27/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/reldist.cpp +45968 warnings generated. +Suppressed 45970 warnings (45968 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 28/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rec.cpp +47449 warnings generated. +Suppressed 47451 warnings (47449 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 29/1170][95.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/zeta.cpp +57313 warnings generated. +Suppressed 57315 warnings (57313 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 30/1170][71.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2pi.cpp +54066 warnings generated. +Suppressed 54068 warnings (54066 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 31/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/simplify_plain_shuffle.cpp +51823 warnings generated. +Suppressed 51825 warnings (51823 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 32/1170][89.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint16.cpp +53597 warnings generated. +Suppressed 53599 warnings (53597 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 33/1170][106.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/swap_adjacent.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:37:41: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 37 | eve::element_type_t actual = shuffled_a[out_i++]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:42:25: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 42 | else expected = x_a[group_i * G + within_i]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +59843 warnings generated. +Suppressed 59207 warnings (59205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 34/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46839 warnings generated. +Suppressed 46833 warnings (46831 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 35/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpic.cpp +46448 warnings generated. +Suppressed 46450 warnings (46448 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 36/1170][79.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lohi.cpp +54032 warnings generated. +Suppressed 54034 warnings (54032 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 37/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_logical.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:194:7: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 194 | res[i] = m; + | ^ +55906 warnings generated. +Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 38/1170][43.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_pi.cpp +53128 warnings generated. +Suppressed 53130 warnings (53128 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 39/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/fill.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46061 warnings generated. +Suppressed 45678 warnings (45676 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 40/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp:35:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 35 | const auto* s = reinterpret_cast(s_); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp:117:7: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 117 | std::size_t expected = static_cast(l - it); + | ^~~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51288 warnings generated. +Suppressed 51202 warnings (51200 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 41/1170][109.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_lessgreater.cpp +59327 warnings generated. +Suppressed 59329 warnings (59327 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 42/1170][73.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sech.cpp +54364 warnings generated. +Suppressed 54366 warnings (54364 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 43/1170][91.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acos.cpp +53734 warnings generated. +Suppressed 53736 warnings (53734 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 44/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mzero.cpp +44991 warnings generated. +Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 45/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rf.cpp +46383 warnings generated. +Suppressed 46385 warnings (46383 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 46/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_finite.cpp +46207 warnings generated. +Suppressed 46209 warnings (46207 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 47/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/popcount.cpp +45339 warnings generated. +Suppressed 45341 warnings (45339 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 48/1170][127.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_kn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +57921 warnings generated. +Suppressed 57916 warnings (57914 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 49/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/product_type.cpp +51680 warnings generated. +Suppressed 51682 warnings (51680 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 50/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/reverse.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51081 warnings generated. +Suppressed 51018 warnings (51016 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 51/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/as_value.cpp +/Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/as_value.cpp:29:25: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 29 | udt::grid2d expected{0, 0}; + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +51139 warnings generated. +Suppressed 51140 warnings (51138 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 52/1170][110.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_even.cpp +58569 warnings generated. +Suppressed 58571 warnings (58569 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 53/1170][59.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_wide.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:24:3: warning: uninitialized record type: 'x' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 24 | eve::stack_buffer x; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:32:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 32 | std::array, T::size()> r; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:47:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 47 | std::array, T::size()> r; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15: warning: function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' is within a recursive call chain [misc-no-recursion] + 121 | auto test = [&](auto& self, std::size_t i) mutable { + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15: note: example recursive call chain, starting from function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:126:5: note: Frame #1: function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' calls function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' here: + 126 | self(self, i + 1); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:126:5: note: ... which was the starting point of the recursive call chain; there may be other cycles +57944 warnings generated. +Suppressed 56619 warnings (56617 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 54/1170][115.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_minf.cpp +57427 warnings generated. +Suppressed 57429 warnings (57427 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 55/1170][26.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nemz.cpp +52486 warnings generated. +Suppressed 52488 warnings (52486 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 56/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maximum.cpp +45992 warnings generated. +Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 57/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpi.cpp +46193 warnings generated. +Suppressed 46195 warnings (46193 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 58/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_notand.cpp +45887 warnings generated. +Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 59/1170][102.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log.cpp +53897 warnings generated. +Suppressed 53899 warnings (53897 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 60/1170][43.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countl_zero.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/countl_zero.cpp:37:19: warning: loop variable has narrower type 'v_t' than iteration's upper bound 'unsigned long' [bugprone-too-small-loop-variable] + 37 | for( v_t i = 0; i < sizeof(v_t) * 8 - 1; ++i ) + | ^ +53741 warnings generated. +Suppressed 53732 warnings (53730 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 61/1170][26.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_flint.cpp +53015 warnings generated. +Suppressed 53017 warnings (53015 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 62/1170][118.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_logical.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:194:7: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 194 | res[i] = m; + | ^ +55906 warnings generated. +Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 63/1170][83.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acoth.cpp +53823 warnings generated. +Suppressed 53825 warnings (53823 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 64/1170][9.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/reverse_conditional.cpp +44947 warnings generated. +Suppressed 44949 warnings (44947 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 65/1170][26.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_normal.cpp +52583 warnings generated. +Suppressed 52585 warnings (52583 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 66/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_pio_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 67/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan.cpp +45848 warnings generated. +Suppressed 45850 warnings (45848 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 68/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/try_each_group_position.cpp +45178 warnings generated. +Suppressed 45180 warnings (45178 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 69/1170][137.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/gamma_p_inv.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +69725 warnings generated. +Suppressed 69720 warnings (69718 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 70/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log2.cpp +45990 warnings generated. +Suppressed 45992 warnings (45990 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 71/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_odd.cpp +46380 warnings generated. +Suppressed 46382 warnings (46380 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 72/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lbeta.cpp +46364 warnings generated. +Suppressed 46366 warnings (46364 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 73/1170][17.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sincos.cpp +48208 warnings generated. +Suppressed 48210 warnings (48208 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 74/1170][23.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/oop/data_driven_physics.cpp +/Users/sadiinso/unsync/eve/examples/display.hpp:26:42: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 26 | for(std::size_t i=1;i, float, float, float, int>::member0_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 134 | , std::max(1, render_size - static_cast(resolution*position(balls.get(i)))) + | ^ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +55820 warnings generated. +Suppressed 55029 warnings (55027 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 75/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2d.cpp +53895 warnings generated. +Suppressed 53897 warnings (53895 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 76/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/jacobi.cpp +47438 warnings generated. +Suppressed 47440 warnings (47438 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 77/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/value.cpp +51199 warnings generated. +Suppressed 51201 warnings (51199 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 78/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lerp.cpp +45765 warnings generated. +Suppressed 45767 warnings (45765 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 79/1170][55.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/start_here.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/start_here.cpp:22:56)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>>>, eve::algo::views::reverse_iterator>, eve::algo::ptr_iterator>>>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +58215 warnings generated. +Suppressed 57343 warnings (57341 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 80/1170][127.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/shr.cpp +58481 warnings generated. +Suppressed 58483 warnings (58481 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 81/1170][138.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/nextafter.cpp +58506 warnings generated. +Suppressed 58508 warnings (58506 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 82/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:39:3: warning: uninitialized record type: 'ref0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 39 | std::array ref0; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:40:3: warning: uninitialized record type: 'ref1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 40 | std::array ref1; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:41:3: warning: uninitialized record type: 'ref2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 41 | std::array ref2; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:46:15: warning: either cast from 'int' to 'long long' is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] + 46 | ref1[i] = static_cast(i + 1); + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:46:15: warning: either cast from 'int' to 'unsigned long long' is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:53:17: warning: uninitialized record type: 'ctarget0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 53 | alignas(alg0) std::array target0, ctarget0; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:53:17: warning: uninitialized record type: 'target0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 53 | alignas(alg0) std::array target0, ctarget0; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:54:17: warning: uninitialized record type: 'ctarget1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 54 | std::array target1, ctarget1; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:54:17: warning: uninitialized record type: 'target1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 54 | std::array target1, ctarget1; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:55:17: warning: uninitialized record type: 'ctarget2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 55 | alignas(alg2) std::array target2, ctarget2; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:55:17: warning: uninitialized record type: 'target2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 55 | alignas(alg2) std::array target2, ctarget2; + | ^ + | {} +53395 warnings generated. +Suppressed 53215 warnings (53213 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 83/1170][335.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/mul.cpp +64532 warnings generated. +Suppressed 64534 warnings (64532 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 84/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/unalign.cpp +51133 warnings generated. +Suppressed 51135 warnings (51133 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 85/1170][88.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rshr.cpp +56901 warnings generated. +Suppressed 56903 warnings (56901 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 86/1170][102.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/clamp.cpp +57056 warnings generated. +Suppressed 57058 warnings (57056 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 87/1170][35.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/slide_right.cpp +51978 warnings generated. +Suppressed 51980 warnings (51978 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 88/1170][193.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/any.cpp +53971 warnings generated. +Suppressed 53973 warnings (53971 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 89/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/logeps.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 90/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/value_type.cpp +/Users/sadiinso/unsync/eve/test/unit/meta/traits/value_type.cpp:24:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 24 | [[maybe_unused]] int x[5]; + | ^ +51150 warnings generated. +Suppressed 51149 warnings (51147 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 91/1170][314.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:28:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 28 | std::array, 3 * T::size()> ref; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:33:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 33 | ref[ i ] = 1 + i; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:34:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 34 | ref[ i + T::size() ] = 1 + i; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:35:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 35 | ref[ i + 2*T::size()] = 1 + i; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:37:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 37 | logical_ref[ i ] = ((1+i) % 2) == 0; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:38:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 38 | logical_ref[ i + T::size() ] = ((1+i) % 2) == 0; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:39:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] + 39 | logical_ref[ i + 2*T::size()] = ((1+i) % 2) == 0; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:42:17: warning: uninitialized record type: 'target' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 42 | alignas(algt) std::array, 3 * T::size()> target; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:66:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 66 | std::array, 256> ref; + | ^ + | {} +59233 warnings generated. +Suppressed 58719 warnings (58717 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 92/1170][87.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acscd.cpp +53386 warnings generated. +Suppressed 53388 warnings (53386 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 93/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponentm1.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 94/1170][21.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logeps.cpp +51507 warnings generated. +Suppressed 51509 warnings (51507 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 95/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cotd.cpp +46323 warnings generated. +Suppressed 46325 warnings (46323 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 96/1170][22.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/horn1.cpp +51681 warnings generated. +Suppressed 51683 warnings (51681 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 97/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expm1.cpp +45881 warnings generated. +Suppressed 45883 warnings (45881 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 98/1170][176.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int8.cpp +53476 warnings generated. +Suppressed 53478 warnings (53476 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 99/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/omega.cpp +46822 warnings generated. +Suppressed 46824 warnings (46822 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 100/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/significants.cpp +47038 warnings generated. +Suppressed 47040 warnings (47038 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 101/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfcx.cpp +46511 warnings generated. +Suppressed 46513 warnings (46511 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 102/1170][31.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/max_element_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 64 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 70 | *it = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 72 | *it = filler; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 78 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 79 | if( l != page_end ) *l = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +56381 warnings generated. +Suppressed 54948 warnings (54946 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 103/1170][396.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/rotate.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/rotate.cpp:16:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 16 | std::array, T::size()> buf; + | ^ + | {} +59261 warnings generated. +Suppressed 59177 warnings (59175 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 104/1170][20.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53626 warnings generated. +Suppressed 53198 warnings (53196 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 105/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_reverse.cpp +45639 warnings generated. +Suppressed 45641 warnings (45639 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 106/1170][105.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/csc.cpp +55671 warnings generated. +Suppressed 55673 warnings (55671 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 107/1170][94.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acsch.cpp +54174 warnings generated. +Suppressed 54176 warnings (54174 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 108/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/array_utils.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +52142 warnings generated. +Suppressed 51773 warnings (51771 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 109/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erf_inv.cpp +46884 warnings generated. +Suppressed 46886 warnings (46884 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 110/1170][109.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_tuple.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +58624 warnings generated. +Suppressed 57240 warnings (57238 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 111/1170][157.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_shl.cpp +58499 warnings generated. +Suppressed 58501 warnings (58499 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 112/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46782 warnings generated. +Suppressed 46776 warnings (46774 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 113/1170][44.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_10.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 114/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +47303 warnings generated. +Suppressed 47297 warnings (47295 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 115/1170][108.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/betainc.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +57082 warnings generated. +Suppressed 57077 warnings (57075 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 116/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/interacting_with_native.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52415 warnings generated. +Suppressed 51971 warnings (51969 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 117/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:33:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | std::array ints; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:34:14: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 34 | alignas(8) std::array shorts; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:75:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 75 | std::array ints; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:76:14: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | alignas(8) std::array shorts; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:100:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 100 | std::array ints; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:101:3: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 101 | std::array shorts; + | ^ + | {} +51192 warnings generated. +Suppressed 51182 warnings (51180 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 118/1170][281.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/lcm.cpp +58566 warnings generated. +Suppressed 58568 warnings (58566 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 119/1170][10.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive_else.cpp +45109 warnings generated. +Suppressed 45111 warnings (45109 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 120/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/firstbitset.cpp +45317 warnings generated. +Suppressed 45319 warnings (45317 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 121/1170][176.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swap_if.cpp +58280 warnings generated. +Suppressed 58282 warnings (58280 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 122/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ilogb.cpp +45862 warnings generated. +Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 123/1170][77.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/hypot.cpp +53882 warnings generated. +Suppressed 53884 warnings (53882 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 124/1170][8.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp:19:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 19 | std::array::size()-1> data; + | ^ + | {} +/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp:20:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 20 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; + | ^ +44996 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 125/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46867 warnings generated. +Suppressed 46861 warnings (46859 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 126/1170][15.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ulpdist.cpp +45944 warnings generated. +Suppressed 45946 warnings (45944 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 127/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/four_minus_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 128/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/frac.cpp +46648 warnings generated. +Suppressed 46650 warnings (46648 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 129/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_keep_if.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 38 | value_type base; + | + | {} + 39 | value_type step; + | + | {} + 40 | std::ptrdiff_t i; + | + | {} + 41 | wv_type wide_cur; + 42 | + 43 | iota_with_step_iterator() = default; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52319 warnings generated. +Suppressed 51842 warnings (51840 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 130/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/inc.cpp +47397 warnings generated. +Suppressed 47399 warnings (47397 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 131/1170][35.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lerp.cpp +52835 warnings generated. +Suppressed 52837 warnings (52835 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 132/1170][37.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 133/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/next.cpp +46237 warnings generated. +Suppressed 46239 warnings (46237 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 134/1170][221.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/comparisons.cpp +54518 warnings generated. +Suppressed 54520 warnings (54518 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 135/1170][246.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lfactorial.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +57305 warnings generated. +Suppressed 57300 warnings (57298 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 136/1170][19.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/gamma_p_inv.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +49095 warnings generated. +Suppressed 49094 warnings (49092 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 137/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/log_gamma.cpp +/Users/sadiinso/unsync/eve/test/doc/special/log_gamma.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); + | ^ +46405 warnings generated. +Suppressed 46406 warnings (46404 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 138/1170][271.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp:88:3: warning: uninitialized record type: 'expected_buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 88 | std::array expected_buf; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp:89:3: warning: uninitialized record type: 'actual_buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 89 | std::array actual_buf; + | ^ + | {} +63561 warnings generated. +Suppressed 60811 warnings (60809 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 139/1170][116.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/interleave_shuffle.cpp +58476 warnings generated. +Suppressed 58478 warnings (58476 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 140/1170][29.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 156 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: note: make conversion explicit to silence this warning + 30 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); + | ^~~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: note: perform multiplication in a wider type + 156 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:158:11: warning: declaration uses identifier '_inclusive_scan_par_unseq', which is reserved in the global namespace [bugprone-reserved-identifier] + 158 | namespace _inclusive_scan_par_unseq + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | inclusive_scan_par_unseq +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:186:5: warning: use a ranges version of this algorithm [modernize-use-ranges] + 30 | std::transform(async_work.begin(), async_work.end(), res.begin(), + | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ + | std::ranges::transform async_work +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:234:45: warning: the parameter 'split' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 234 | auto split_to_ints = [](subranges_split_t split) { + | ^ + | const & +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:254:84: warning: the parameter 'expected' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 254 | auto test = [&](auto&& r, int group_count, int group_size, std::vector expected) + | ^ + | const & +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, float>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +53979 warnings generated. +Suppressed 53482 warnings (53480 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 141/1170][161.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54734 warnings generated. +Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 142/1170][534.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/broadcast_group.cpp +59456 warnings generated. +Suppressed 59458 warnings (59456 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 143/1170][88.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/equal_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 23 | std::mt19937& gen; + | ^ +71920 warnings generated. +Suppressed 68381 warnings (68379 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 144/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse.cpp:96:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 96 | std::array> a; + | ^ + | {} +52766 warnings generated. +Suppressed 52333 warnings (52331 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 145/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_notand.cpp +45220 warnings generated. +Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 146/1170][58.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cbrt.cpp +54120 warnings generated. +Suppressed 54122 warnings (54120 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 147/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_swap_pairs.cpp +45497 warnings generated. +Suppressed 45499 warnings (45497 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 148/1170][113.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_notor.cpp +60329 warnings generated. +Suppressed 60331 warnings (60329 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 149/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_equal.cpp +46400 warnings generated. +Suppressed 46402 warnings (46400 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 150/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/oneosqrteps.cpp +45304 warnings generated. +Suppressed 45306 warnings (45304 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 151/1170][157.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_equal.cpp +61305 warnings generated. +Suppressed 61307 warnings (61305 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 152/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_unordered.cpp +46209 warnings generated. +Suppressed 46211 warnings (46209 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 153/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_less.cpp +46356 warnings generated. +Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 154/1170][202.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ceil.cpp +61286 warnings generated. +Suppressed 61288 warnings (61286 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 155/1170][216.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/deinterleave_groups.cpp +56031 warnings generated. +Suppressed 56033 warnings (56031 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 156/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_2.cpp +60827 warnings generated. +Suppressed 60829 warnings (60827 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 157/1170][77.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/collect_indexes__complicated_real_example.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 94 | Test test) + | ^ + | const & +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +58542 warnings generated. +Suppressed 57287 warnings (57285 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 158/1170][118.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_or.cpp +58007 warnings generated. +Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 159/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/range_ref.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +52240 warnings generated. +Suppressed 51858 warnings (51856 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 160/1170][125.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expx2.cpp +54386 warnings generated. +Suppressed 54388 warnings (54386 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 161/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_double.cpp +52936 warnings generated. +Suppressed 52938 warnings (52936 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 162/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/heaviside.cpp +45197 warnings generated. +Suppressed 45199 warnings (45197 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 163/1170][257.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/absmax.cpp +64505 warnings generated. +Suppressed 64507 warnings (64505 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 164/1170][9.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrteps.cpp +45304 warnings generated. +Suppressed 45306 warnings (45304 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 165/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/combine.cpp +45009 warnings generated. +Suppressed 45011 warnings (45009 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 166/1170][23.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/nth_prime.cpp +45371 warnings generated. +Suppressed 45373 warnings (45371 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 167/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/exponent.cpp +45494 warnings generated. +Suppressed 45496 warnings (45494 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 168/1170][134.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +54037 warnings generated. +Suppressed 53043 warnings (53041 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 169/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/one.cpp +45102 warnings generated. +Suppressed 45104 warnings (45102 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 170/1170][159.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/wide.cpp +54963 warnings generated. +Suppressed 54965 warnings (54963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 171/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46844 warnings generated. +Suppressed 46838 warnings (46836 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 172/1170][352.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/replace.cpp +56526 warnings generated. +Suppressed 56528 warnings (56526 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 173/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_pow2.cpp +45384 warnings generated. +Suppressed 45386 warnings (45384 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 174/1170][93.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expm1.cpp +54363 warnings generated. +Suppressed 54365 warnings (54363 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 175/1170][42.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_4.cpp +52963 warnings generated. +Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 176/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/epsilon.cpp +53372 warnings generated. +Suppressed 53374 warnings (53372 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 177/1170][21.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/simd.cpp +51396 warnings generated. +Suppressed 51398 warnings (51396 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 178/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negatenz.cpp +46157 warnings generated. +Suppressed 46159 warnings (46157 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 179/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog10_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 180/1170][101.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_basic.cpp +55705 warnings generated. +Suppressed 55707 warnings (55705 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 181/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponent.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 182/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/of_class.cpp +45614 warnings generated. +Suppressed 45616 warnings (45614 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 183/1170][100.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_gez.cpp +57851 warnings generated. +Suppressed 57853 warnings (57851 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 184/1170][21.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/oneosqrteps.cpp +51514 warnings generated. +Suppressed 51516 warnings (51514 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 185/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/betainc_inv.cpp +46941 warnings generated. +Suppressed 46943 warnings (46941 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 186/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sigmoid.cpp +46127 warnings generated. +Suppressed 46129 warnings (46127 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 187/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/hermite.cpp +47499 warnings generated. +Suppressed 47501 warnings (47499 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 188/1170][202.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negate.cpp +57182 warnings generated. +Suppressed 57184 warnings (57182 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 189/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/popcount.cpp +53836 warnings generated. +Suppressed 53838 warnings (53836 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 190/1170][209.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_reverse_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_reverse_generic.cpp:19:76: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +54525 warnings generated. +Suppressed 53488 warnings (53486 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 191/1170][24.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:25:9) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:41:76) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:25:9) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:41:76) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +52792 warnings generated. +Suppressed 52341 warnings (52339 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 192/1170][802.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ternary.cpp +54794 warnings generated. +Suppressed 54796 warnings (54794 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 193/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asecpi.cpp +46280 warnings generated. +Suppressed 46282 warnings (46280 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 194/1170][126.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/shl.cpp +57865 warnings generated. +Suppressed 57867 warnings (57865 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 195/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acosd.cpp +46127 warnings generated. +Suppressed 46129 warnings (46127 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 196/1170][178.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negabsmax.cpp +59384 warnings generated. +Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 197/1170][297.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/nth_prime.cpp +53583 warnings generated. +Suppressed 53585 warnings (53583 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 198/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/min.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/doc/algo/min.cpp:15:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 15 | << *eve::algo::min_value(v) << "\n"; + | ^ +/Users/sadiinso/unsync/eve/test/doc/algo/min.cpp:21:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 21 | << *eve::algo::min_value(v, eve::is_greater) << "\n"; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52843 warnings generated. +Suppressed 52340 warnings (52338 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 199/1170][44.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_infinite.cpp +52570 warnings generated. +Suppressed 52572 warnings (52570 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 200/1170][90.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rotl.cpp +56351 warnings generated. +Suppressed 56353 warnings (56351 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 201/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfc_inv.cpp +/Users/sadiinso/unsync/eve/test/doc/special/erfc_inv.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); + | ^ +46028 warnings generated. +Suppressed 46029 warnings (46027 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 202/1170][25.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/write.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +51591 warnings generated. +Suppressed 51556 warnings (51554 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 203/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_cast.cpp +45254 warnings generated. +Suppressed 45256 warnings (45254 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 204/1170][158.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_less.cpp +59704 warnings generated. +Suppressed 59706 warnings (59704 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 205/1170][88.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_1.cpp +60885 warnings generated. +Suppressed 60887 warnings (60885 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 206/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expmx2.cpp +46197 warnings generated. +Suppressed 46199 warnings (46197 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 207/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erf.cpp +46560 warnings generated. +Suppressed 46562 warnings (46560 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 208/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_integer.cpp +51105 warnings generated. +Suppressed 51107 warnings (51105 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 209/1170][16.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/gegenbauer.cpp +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, eve::wide>>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), double, double>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, double, double>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, double, double>' calls function 'operator(), double, double>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), double, double>' calls function 'behavior>, eve::options>>, eve::wide, double, double, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, double, double, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const double &, const double &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_, double, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, double, double, eve::options>>>' calls function 'apply_over>, eve::wide, double, double>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 19 | gegenbauer_(EVE_REQUIRES(cpu_), O const&, I nn, U lambda, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] +47417 warnings generated. +Suppressed 47415 warnings (47413 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 210/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/signgam.cpp +53048 warnings generated. +Suppressed 53050 warnings (53048 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 211/1170][8.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_object.cpp +45022 warnings generated. +Suppressed 45024 warnings (45022 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 212/1170][107.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expmx2.cpp +54000 warnings generated. +Suppressed 54002 warnings (54000 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 213/1170][111.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log1p.cpp +53597 warnings generated. +Suppressed 53599 warnings (53597 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 214/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_gtz.cpp +46172 warnings generated. +Suppressed 46174 warnings (46172 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 215/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lentz_a.cpp +/Users/sadiinso/unsync/eve/test/doc/math/lentz_a.cpp:8:4: warning: use 'using' instead of 'typedef' [modernize-use-using] + 8 | typedef T result_type; + | ^~~~~~~~~~~~~~~~~~~~~ + | using result_type = T +45657 warnings generated. +Suppressed 45658 warnings (45656 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 216/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/betainc.cpp +46711 warnings generated. +Suppressed 46713 warnings (46711 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 217/1170][40.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/three_pio_4.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 218/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_unit.cpp +46232 warnings generated. +Suppressed 46234 warnings (46232 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 219/1170][127.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_infinite.cpp +57142 warnings generated. +Suppressed 57144 warnings (57142 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 220/1170][51.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/has_single_bit.cpp +53120 warnings generated. +Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 221/1170][145.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/compare_absolute.cpp +59368 warnings generated. +Suppressed 59370 warnings (59368 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 222/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mantissamask.cpp +44973 warnings generated. +Suppressed 44975 warnings (44973 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 223/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nemz.cpp +45868 warnings generated. +Suppressed 45870 warnings (45868 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 224/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sign.cpp +58089 warnings generated. +Suppressed 58091 warnings (58089 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 225/1170][273.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp:30:7: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 30 | std::array data, ref; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp:30:7: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 30 | std::array data, ref; + | ^ + | {} +64550 warnings generated. +Suppressed 63348 warnings (63346 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 226/1170][124.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_xor.cpp +59511 warnings generated. +Suppressed 59513 warnings (59511 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 227/1170][512.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/iterate_selected.cpp +55404 warnings generated. +Suppressed 55406 warnings (55404 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 228/1170][107.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqz.cpp +57619 warnings generated. +Suppressed 57621 warnings (57619 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 229/1170][48.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countl_one.cpp +53782 warnings generated. +Suppressed 53784 warnings (53782 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 230/1170][247.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/div.cpp +66016 warnings generated. +Suppressed 66018 warnings (66016 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 231/1170][195.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 85 | int new_i = ( group_idx / 2 ) * (int)G + i % G; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: note: make conversion explicit to silence this warning + 9 | int new_i = ( group_idx / 2 ) * (int)G + i % G; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: note: perform multiplication in a wider type + 85 | int new_i = ( group_idx / 2 ) * (int)G + i % G; + | ^ ~~~~~~~~~~~~~ + | static_cast( ) +58209 warnings generated. +Suppressed 58210 warnings (58208 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 232/1170][29.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54699 warnings generated. +Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 233/1170][182.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/blend.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +78740 warnings generated. +Suppressed 77408 warnings (77406 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 234/1170][17.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_jn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_jn.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +48232 warnings generated. +Suppressed 48223 warnings (48221 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 235/1170][78.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ifrexp.cpp +53612 warnings generated. +Suppressed 53614 warnings (53612 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 236/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/valmax.cpp +45050 warnings generated. +Suppressed 45052 warnings (45050 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 237/1170][104.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log2.cpp +53811 warnings generated. +Suppressed 53813 warnings (53811 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 238/1170][45.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_10.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 239/1170][95.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asec.cpp +53558 warnings generated. +Suppressed 53560 warnings (53558 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 240/1170][33.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lentz_a.cpp +/Users/sadiinso/unsync/eve/test/unit/module/math/lentz_a.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 15 | obj_const_fraction(U v) : z(v){}; + | ^ + | explicit +52428 warnings generated. +Suppressed 52429 warnings (52427 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 241/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/true_.cpp +45040 warnings generated. +Suppressed 45042 warnings (45040 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 242/1170][212.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int64.cpp +53891 warnings generated. +Suppressed 53893 warnings (53891 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 243/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cscpi.cpp +/Users/sadiinso/unsync/eve/test/unit/module/math/cscpi.cpp:48:12: warning: narrowing conversion from 'double' to 'bool' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 48 | return d ? 1.0 / d : eve::nan(eve::as(e)); + | ^ +54277 warnings generated. +Suppressed 54277 warnings (54275 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 244/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/max.cpp +46051 warnings generated. +Suppressed 46053 warnings (46051 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 245/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_reverse.cpp +45489 warnings generated. +Suppressed 45491 warnings (45489 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 246/1170][121.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_pinf.cpp +57122 warnings generated. +Suppressed 57124 warnings (57122 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 247/1170][174.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_equal.cpp +61019 warnings generated. +Suppressed 61021 warnings (61019 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 248/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/iota.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::iota_with_step_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::iota_with_step_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 38 | value_type base; + | + | {} + 39 | value_type step; + | + | {} + 40 | std::ptrdiff_t i; + | + | {} + 41 | wv_type wide_cur; + 42 | + 43 | iota_with_step_iterator() = default; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +53323 warnings generated. +Suppressed 52796 warnings (52794 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 249/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_swap_pairs.cpp +45090 warnings generated. +Suppressed 45092 warnings (45090 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 250/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/trunc.cpp +46473 warnings generated. +Suppressed 46475 warnings (46473 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 251/1170][119.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/omega.cpp +55983 warnings generated. +Suppressed 55985 warnings (55983 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 252/1170][332.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/prev.cpp +59482 warnings generated. +Suppressed 59484 warnings (59482 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 253/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/broadcast_lane.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51047 warnings generated. +Suppressed 50984 warnings (50982 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 254/1170][202.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_shr.cpp +58717 warnings generated. +Suppressed 58719 warnings (58717 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 255/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/gcd.cpp +/Users/sadiinso/unsync/eve/test/doc/combinatorial/gcd.cpp:5:59: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->float{ return (i-c/2);}); + | ^ +46250 warnings generated. +Suppressed 46251 warnings (46249 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 256/1170][273.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_tuple.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +66124 warnings generated. +Suppressed 63288 warnings (63286 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 257/1170][30.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/abel.cpp +53325 warnings generated. +Suppressed 53327 warnings (53325 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 258/1170][86.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_i0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +55532 warnings generated. +Suppressed 55527 warnings (55525 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 259/1170][289.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp +/Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp:75:14: warning: either cast from 'int' to 'e_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] + 75 | x.set(i, (e_t)(i + 1)); + | ^ +/Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp:75:14: warning: either cast from 'int' to 'e_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +54597 warnings generated. +Suppressed 54593 warnings (54591 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 260/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lambert.cpp +46450 warnings generated. +Suppressed 46452 warnings (46450 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 261/1170][555.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_wide.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +63523 warnings generated. +Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 262/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asin.cpp +45705 warnings generated. +Suppressed 45707 warnings (45705 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 263/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy_backward.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52238 warnings generated. +Suppressed 51753 warnings (51751 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 264/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sech.cpp +46283 warnings generated. +Suppressed 46285 warnings (46283 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 265/1170][1011.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/swap_ranges_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +67662 warnings generated. +Suppressed 64938 warnings (64936 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 266/1170][10.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/broadcast.cpp +45085 warnings generated. +Suppressed 45087 warnings (45085 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 267/1170][34.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/deginrad.cpp +52175 warnings generated. +Suppressed 52177 warnings (52175 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 268/1170][231.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:17:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 17 | alignas(sizeof(T)) v_t data[T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:23:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 23 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:30:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 30 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:51:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 51 | alignas(sizeof(T)) v_t data[T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:57:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 57 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:65:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 65 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:87:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 87 | v_t data[T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:92:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 92 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:99:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 99 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:121:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 121 | v_t data[T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:126:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 126 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:133:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 133 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); + | ^ +57643 warnings generated. +Suppressed 56085 warnings (56083 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 269/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_wide.cpp +51862 warnings generated. +Suppressed 51864 warnings (51862 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 270/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fnms.cpp +48080 warnings generated. +Suppressed 48082 warnings (48080 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 271/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dot.cpp +45509 warnings generated. +Suppressed 45511 warnings (45509 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 272/1170][40.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_denormal.cpp +51939 warnings generated. +Suppressed 51941 warnings (51939 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 273/1170][46.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_2.cpp +52963 warnings generated. +Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 274/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_copy_if.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 38 | value_type base; + | + | {} + 39 | value_type step; + | + | {} + 40 | std::ptrdiff_t i; + | + | {} + 41 | wv_type wide_cur; + 42 | + 43 | iota_with_step_iterator() = default; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52657 warnings generated. +Suppressed 52164 warnings (52162 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 275/1170][192.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int16.cpp +53602 warnings generated. +Suppressed 53604 warnings (53602 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 276/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_tuple.cpp +51571 warnings generated. +Suppressed 51573 warnings (51571 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 277/1170][50.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinhcosh.cpp +54626 warnings generated. +Suppressed 54628 warnings (54626 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 278/1170][84.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/geommean.cpp +57026 warnings generated. +Suppressed 57028 warnings (57026 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 279/1170][156.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lpnorm_2.cpp +57724 warnings generated. +Suppressed 57726 warnings (57724 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 280/1170][38.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_2.cpp +52966 warnings generated. +Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 281/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ordered.cpp +52564 warnings generated. +Suppressed 52566 warnings (52564 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 282/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/reverse_horner.cpp +45649 warnings generated. +Suppressed 45651 warnings (45649 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 283/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_finite.cpp +52479 warnings generated. +Suppressed 52481 warnings (52479 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 284/1170][118.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse_eve_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse_eve_iterator.cpp:20:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 20 | alignas(sizeof(T)) std::array, T::size()> data; + | ^ + | {} +54784 warnings generated. +Suppressed 54037 warnings (54035 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 285/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_y1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +56550 warnings generated. +Suppressed 56545 warnings (56543 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 286/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/none_of.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/none_of.cpp:16:56)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51993 warnings generated. +Suppressed 51540 warnings (51538 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 287/1170][41.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rat.cpp +53498 warnings generated. +Suppressed 53500 warnings (53498 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 288/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqpz.cpp +45840 warnings generated. +Suppressed 45842 warnings (45840 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 289/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/if_else.cpp +45667 warnings generated. +Suppressed 45669 warnings (45667 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 290/1170][117.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_andnot.cpp +59958 warnings generated. +Suppressed 59960 warnings (59958 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 291/1170][38.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2o_16.cpp +52963 warnings generated. +Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 292/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ngez.cpp +46205 warnings generated. +Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 293/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 294/1170][105.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acospi.cpp +53677 warnings generated. +Suppressed 53679 warnings (53677 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 295/1170][632.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_wide.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +66555 warnings generated. +Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 296/1170][88.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cotpi.cpp +54344 warnings generated. +Suppressed 54346 warnings (54344 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 297/1170][38.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/third.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 298/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/abel.cpp +47415 warnings generated. +Suppressed 47417 warnings (47415 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 299/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/inclusive_scan.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46390 warnings generated. +Suppressed 46002 warnings (46000 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 300/1170][151.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_less.cpp +59384 warnings generated. +Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 301/1170][56.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fmod.cpp +52996 warnings generated. +Suppressed 52998 warnings (52996 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 302/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/egamma_sqr.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 303/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi_pow_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 304/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asinh.cpp +46205 warnings generated. +Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 305/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_negative.cpp +46236 warnings generated. +Suppressed 46238 warnings (46236 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 306/1170][312.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/next.cpp +59354 warnings generated. +Suppressed 59356 warnings (59354 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 307/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/absmax.cpp +46199 warnings generated. +Suppressed 46201 warnings (46199 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 308/1170][93.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/to_logical.cpp +53928 warnings generated. +Suppressed 53930 warnings (53928 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 309/1170][41.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/native_simd_for_abi.cpp +51102 warnings generated. +Suppressed 51104 warnings (51102 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 310/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy_ai.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/airy_ai.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +48042 warnings generated. +Suppressed 48033 warnings (48031 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 311/1170][27.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_flint.cpp +52962 warnings generated. +Suppressed 52964 warnings (52962 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 312/1170][100.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sin.cpp +55388 warnings generated. +Suppressed 55390 warnings (55388 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 313/1170][53.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/hermite.cpp +/Users/sadiinso/unsync/eve/test/unit/module/polynomial/hermite.cpp:50:8: warning: declaration uses identifier 'eve__hermitev', which is a reserved identifier [bugprone-reserved-identifier] + 50 | auto eve__hermitev = [](auto n, auto x) { return eve::hermite(n, x); }; + | ^~~~~~~~~~~~~ + | eve_hermitev + 51 | for( unsigned int n = 0; n < 5; ++n ) + 52 | { + 53 | auto std_hermite = [&](auto i, auto) { return NAMESPACE::hermite(n, a0.get(i)); }; + 54 | TTS_ULP_EQUAL(eve__hermitev(n, a0), T(std_hermite), 16); + | ~~~~~~~~~~~~~ + | eve_hermitev + 55 | } + 56 | auto std_hermitev = [&](auto i, auto) { return NAMESPACE::hermite(i0.get(i), a0.get(i)); }; + 57 | TTS_ULP_EQUAL(eve__hermitev(i0, a0), T(std_hermitev), 16); + | ~~~~~~~~~~~~~ + | eve_hermitev + 58 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) + 59 | { + 60 | auto std_hermite2 = [&](auto i, auto) { return NAMESPACE::hermite(int(i0.get(i)), a0.get(j)); }; + 61 | TTS_ULP_EQUAL(eve__hermitev(i0, a0.get(j)), T(std_hermite2), 64); + | ~~~~~~~~~~~~~ + | eve_hermitev +55450 warnings generated. +Suppressed 55451 warnings (55449 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 314/1170][17.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/legendre.cpp +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] + 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' calls function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' here: + 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] + 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' calls function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' here: + 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options>>>' +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options>>>' calls function 'legendre_>, eve::wide>, eve::options>>>' here: + 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_, eve::wide>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_, eve::wide>, eve::options>>>' +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_, eve::wide>, eve::options>>>' calls function 'legendre_, eve::wide>, eve::options>>>' here: + 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +49046 warnings generated. +Suppressed 49041 warnings (49039 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 315/1170][99.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_k1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +55751 warnings generated. +Suppressed 55746 warnings (55744 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 316/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countr_one.cpp +45521 warnings generated. +Suppressed 45523 warnings (45521 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 317/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/significants.cpp +46730 warnings generated. +Suppressed 46732 warnings (46730 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 318/1170][17.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy_bi.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/airy_bi.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +48515 warnings generated. +Suppressed 48506 warnings (48504 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 319/1170][30.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_generic_two_pass.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 44 | *(l - 1) = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 49 | *it = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 51 | *it = filler; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 78 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 79 | if( l != page_end ) *l = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +55730 warnings generated. +Suppressed 54521 warnings (54519 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 320/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/shl.cpp +45232 warnings generated. +Suppressed 45234 warnings (45232 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 321/1170][246.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/gcd.cpp +57440 warnings generated. +Suppressed 57442 warnings (57440 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 322/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/slide_left.cpp +52077 warnings generated. +Suppressed 52079 warnings (52077 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 323/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fnma.cpp +48073 warnings generated. +Suppressed 48075 warnings (48073 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 324/1170][97.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/diff_of_prod.cpp +56026 warnings generated. +Suppressed 56028 warnings (56026 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 325/1170][558.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_wide.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +63523 warnings generated. +Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 326/1170][213.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fma.cpp +61302 warnings generated. +Suppressed 61304 warnings (61302 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 327/1170][53.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asin.cpp +53089 warnings generated. +Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 328/1170][98.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_mask.cpp +57269 warnings generated. +Suppressed 57271 warnings (57269 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 329/1170][441.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/try_each_group_position.cpp +62798 warnings generated. +Suppressed 62800 warnings (62798 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 330/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/stirling.cpp +46338 warnings generated. +Suppressed 46340 warnings (46338 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 331/1170][122.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minimum.cpp +56202 warnings generated. +Suppressed 56204 warnings (56202 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 332/1170][181.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/powm1.cpp +56443 warnings generated. +Suppressed 56445 warnings (56443 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 333/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log.cpp +45942 warnings generated. +Suppressed 45944 warnings (45942 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 334/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_minf.cpp +46170 warnings generated. +Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 335/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minabs.cpp +46200 warnings generated. +Suppressed 46202 warnings (46200 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 336/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ltz.cpp +46169 warnings generated. +Suppressed 46171 warnings (46169 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 337/1170][36.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 338/1170][102.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acosd.cpp +53676 warnings generated. +Suppressed 53678 warnings (53676 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 339/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_2.cpp +47521 warnings generated. +Suppressed 47523 warnings (47521 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 340/1170][20.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/prime_floor.cpp +45424 warnings generated. +Suppressed 45426 warnings (45424 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 341/1170][36.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/shuffle/slide_left.cpp +52027 warnings generated. +Suppressed 52029 warnings (52027 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 342/1170][21.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/scalar.cpp +51247 warnings generated. +Suppressed 51249 warnings (51247 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 343/1170][162.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 97 | int new_i = (group_idx / 2) * (int)G + i % G; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: note: make conversion explicit to silence this warning + 9 | int new_i = (group_idx / 2) * (int)G + i % G; + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: note: perform multiplication in a wider type + 97 | int new_i = (group_idx / 2) * (int)G + i % G; + | ^~~~~~~~~~~~~~ + | static_cast( ) +55368 warnings generated. +Suppressed 55369 warnings (55367 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 344/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/current_api.cpp +51103 warnings generated. +Suppressed 51105 warnings (51103 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 345/1170][42.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/try_each_group_position.cpp +52717 warnings generated. +Suppressed 52719 warnings (52717 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 346/1170][21.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip.cpp:126:3: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 126 | std::array i; + | ^ + | {} +53178 warnings generated. +Suppressed 52693 warnings (52691 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 347/1170][181.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:18:49: warning: repeated branch body in conditional chain [bugprone-branch-clone] + 18 | if constexpr ( eve::current_api >= eve::sve ) return kumi::tuple{eve::index<0>}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:18:82: note: end of the original + 18 | if constexpr ( eve::current_api >= eve::sve ) return kumi::tuple{eve::index<0>}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:19:37: note: clone 1 starts here + 19 | else if constexpr ( NumIdxs == 1) return kumi::tuple{eve::index<0>}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +63891 warnings generated. +Suppressed 63082 warnings (63080 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 348/1170][66.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tanh.cpp +53544 warnings generated. +Suppressed 53546 warnings (53544 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 349/1170][306.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/absmin.cpp +65062 warnings generated. +Suppressed 65064 warnings (65062 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 350/1170][203.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shift.cpp +56377 warnings generated. +Suppressed 56379 warnings (56377 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 351/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/same_lanes_or_scalar.cpp +51161 warnings generated. +Suppressed 51163 warnings (51161 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 352/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rj.cpp +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 29 | auto next_interval(F const & f, L notdone, L1 test, R& r, Ts ... ts) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 48 | auto last_interval(F const & f, L todo, R& r, Ts ... ts) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] + 98 | constexpr auto ellint_rj_(EVE_REQUIRES(cpu_), O const&, T x, T y, T z, T p) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 225 | auto br_pneg = [](auto xx, auto yy, auto zz, auto pp) // pp < 0 + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 259 | auto br_last = [](auto px, auto py, auto pz, auto pp) { return ellint_rj[raw](px, py, pz, pp); }; + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: + 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 40 | r = if_else(todo, f(ts...), r); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles +46599 warnings generated. +Suppressed 46588 warnings (46586 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 353/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expx2.cpp +46061 warnings generated. +Suppressed 46063 warnings (46061 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 354/1170][73.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +64841 warnings generated. +Suppressed 62771 warnings (62769 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 355/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/byte_16_runtime_shuffle.cpp +51443 warnings generated. +Suppressed 51445 warnings (51443 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 356/1170][124.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lambert.cpp +58108 warnings generated. +Suppressed 58110 warnings (58108 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 357/1170][194.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_in.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +59376 warnings generated. +Suppressed 59371 warnings (59369 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 358/1170][34.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/constant.cpp +55298 warnings generated. +Suppressed 55300 warnings (55298 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 359/1170][117.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_d.cpp +60535 warnings generated. +Suppressed 60537 warnings (60535 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 360/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nepz.cpp +45844 warnings generated. +Suppressed 45846 warnings (45844 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 361/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/three_o_4.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 362/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2o_6.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 363/1170][698.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/conditional.cpp +55873 warnings generated. +Suppressed 55875 warnings (55873 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 364/1170][30.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/remove.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_and_remove_generic_test.hpp:27:15: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 27 | alignas(64) std::array data; + | ^ + | {} +54060 warnings generated. +Suppressed 53499 warnings (53497 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 365/1170][98.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log10.cpp +53775 warnings generated. +Suppressed 53777 warnings (53775 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 366/1170][63.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/conditional.cpp +52837 warnings generated. +Suppressed 52839 warnings (52837 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 367/1170][158.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/reverse_in_subgroups.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +61119 warnings generated. +Suppressed 60671 warnings (60669 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 368/1170][99.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/exp_int.cpp +61451 warnings generated. +Suppressed 61453 warnings (61451 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 369/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/logspace_add.cpp +46198 warnings generated. +Suppressed 46200 warnings (46198 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 370/1170][20.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-01.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/intro-01.cpp:60:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 60 | float data[] = {1.5f, 3, 4.5f, 6, 7.5f, 9, 10.5f, 12, 13.5, 15, 16.5, 18, 19.5, 21, 22.5, 24}; + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51795 warnings generated. +Suppressed 51719 warnings (51717 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 371/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/abs.cpp +46149 warnings generated. +Suppressed 46151 warnings (46149 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 372/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bitofsign.cpp +46080 warnings generated. +Suppressed 46082 warnings (46080 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 373/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nearest.cpp +46046 warnings generated. +Suppressed 46048 warnings (46046 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 374/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2.cpp +45958 warnings generated. +Suppressed 45960 warnings (45958 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 375/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow.cpp +46603 warnings generated. +Suppressed 46605 warnings (46603 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 376/1170][176.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint16.cpp +53746 warnings generated. +Suppressed 53748 warnings (53746 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 377/1170][47.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_flip.cpp +53986 warnings generated. +Suppressed 53988 warnings (53986 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 378/1170][49.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog.cpp +54563 warnings generated. +Suppressed 54565 warnings (54563 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 379/1170][37.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sinh_1.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 380/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sin_1.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 381/1170][88.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/inclusive_scan_to_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +68163 warnings generated. +Suppressed 66186 warnings (66184 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 382/1170][198.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/all.cpp +52778 warnings generated. +Suppressed 52780 warnings (52778 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 383/1170][28.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_r1_small_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54421 warnings generated. +Suppressed 53631 warnings (53629 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 384/1170][401.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/add.cpp +68233 warnings generated. +Suppressed 68235 warnings (68233 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 385/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ldexp.cpp +46052 warnings generated. +Suppressed 46054 warnings (46052 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 386/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/half.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 387/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/secpi.cpp +46371 warnings generated. +Suppressed 46373 warnings (46371 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 388/1170][38.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_6.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 389/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_notor.cpp +45224 warnings generated. +Suppressed 45226 warnings (45224 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 390/1170][135.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/none.cpp +52732 warnings generated. +Suppressed 52734 warnings (52732 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 391/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_less_equal.cpp +46356 warnings generated. +Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 392/1170][118.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_notor.cpp +58007 warnings generated. +Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 393/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/ieee_constant.cpp +45262 warnings generated. +Suppressed 45264 warnings (45262 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 394/1170][127.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ldexp.cpp +54555 warnings generated. +Suppressed 54557 warnings (54555 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 395/1170][96.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/csch.cpp +54604 warnings generated. +Suppressed 54606 warnings (54604 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 396/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acospi.cpp +46128 warnings generated. +Suppressed 46130 warnings (46128 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 397/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rat.cpp +46188 warnings generated. +Suppressed 46190 warnings (46188 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 398/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/reduce.cpp +45412 warnings generated. +Suppressed 45414 warnings (45412 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 399/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dist.cpp +46481 warnings generated. +Suppressed 46483 warnings (46481 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 400/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negminabs.cpp +46325 warnings generated. +Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 401/1170][21.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_8x1.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +53975 warnings generated. +Suppressed 53623 warnings (53621 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 402/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sqrt.cpp +47064 warnings generated. +Suppressed 47066 warnings (47064 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 403/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/is_supported.cpp +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:130:5: warning: function 'supports_sse2' should be marked [[nodiscard]] [modernize-use-nodiscard] + 130 | bool supports_sse2() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:131:5: warning: function 'supports_sse3' should be marked [[nodiscard]] [modernize-use-nodiscard] + 131 | bool supports_sse3() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:132:5: warning: function 'supports_ssse3' should be marked [[nodiscard]] [modernize-use-nodiscard] + 132 | bool supports_ssse3() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:133:5: warning: function 'supports_sse4_1' should be marked [[nodiscard]] [modernize-use-nodiscard] + 133 | bool supports_sse4_1() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:134:5: warning: function 'supports_sse4_2' should be marked [[nodiscard]] [modernize-use-nodiscard] + 134 | bool supports_sse4_2() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:135:5: warning: function 'supports_fma3' should be marked [[nodiscard]] [modernize-use-nodiscard] + 135 | bool supports_fma3() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:136:5: warning: function 'supports_avx' should be marked [[nodiscard]] [modernize-use-nodiscard] + 136 | bool supports_avx() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:137:5: warning: function 'supports_avx2' should be marked [[nodiscard]] [modernize-use-nodiscard] + 137 | bool supports_avx2() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:139:5: warning: function 'supports_avx512F' should be marked [[nodiscard]] [modernize-use-nodiscard] + 139 | bool supports_avx512F() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:140:5: warning: function 'supports_avx512PF' should be marked [[nodiscard]] [modernize-use-nodiscard] + 140 | bool supports_avx512PF() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:141:5: warning: function 'supports_avx512ER' should be marked [[nodiscard]] [modernize-use-nodiscard] + 141 | bool supports_avx512ER() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:142:5: warning: function 'supports_avx512CD' should be marked [[nodiscard]] [modernize-use-nodiscard] + 142 | bool supports_avx512CD() const noexcept { return false; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:144:5: warning: function 'supports_sse4_a' should be marked [[nodiscard]] [modernize-use-nodiscard] + 144 | bool supports_sse4_a() const noexcept { return false; } + | ^ + | [[nodiscard]] +51250 warnings generated. +Suppressed 51239 warnings (51237 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 404/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_flint.cpp +46348 warnings generated. +Suppressed 46350 warnings (46348 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 405/1170][80.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cospi.cpp +53948 warnings generated. +Suppressed 53950 warnings (53948 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 406/1170][217.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rec.cpp +68948 warnings generated. +Suppressed 68950 warnings (68948 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 407/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negate.cpp +46254 warnings generated. +Suppressed 46256 warnings (46254 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 408/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/powm1.cpp +46711 warnings generated. +Suppressed 46713 warnings (46711 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 409/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ifrexp.cpp +46229 warnings generated. +Suppressed 46231 warnings (46229 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 410/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/rempio2.cpp +/Users/sadiinso/unsync/eve/test/doc/math/rempio2.cpp:8:90: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 8 | eve::wide wf([](auto i, auto c)->float{ return eve::pi(eve::as < float>())*2*(i-c/2);}); + | ^ +46040 warnings generated. +Suppressed 46041 warnings (46039 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 411/1170][93.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/logspace_sub.cpp +55612 warnings generated. +Suppressed 55614 warnings (55612 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 412/1170][204.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minmax.cpp +62663 warnings generated. +Suppressed 62665 warnings (62663 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 413/1170][193.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp:20:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 20 | std::array buf; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp:30:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 30 | std::array buf; + | ^ + | {} +63203 warnings generated. +Suppressed 63033 warnings (63031 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 414/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/modf.cpp +46027 warnings generated. +Suppressed 46029 warnings (46027 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 415/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_xor.cpp +45220 warnings generated. +Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 416/1170][46.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_set.cpp +53986 warnings generated. +Suppressed 53988 warnings (53986 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 417/1170][129.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_tuple.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +59908 warnings generated. +Suppressed 58458 warnings (58456 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 418/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46781 warnings generated. +Suppressed 46775 warnings (46773 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 419/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_mask.cpp +46105 warnings generated. +Suppressed 46107 warnings (46105 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 420/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_even.cpp +46329 warnings generated. +Suppressed 46331 warnings (46329 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 421/1170][239.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/dist.cpp +59693 warnings generated. +Suppressed 59695 warnings (59693 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 422/1170][135.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/digamma.cpp +55840 warnings generated. +Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 423/1170][85.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int64.cpp +53182 warnings generated. +Suppressed 53184 warnings (53182 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 424/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_shr.cpp +45232 warnings generated. +Suppressed 45234 warnings (45232 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 425/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_yn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_yn.cpp:7:65: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +48249 warnings generated. +Suppressed 48239 warnings (48237 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 426/1170][215.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/first_true.cpp +52806 warnings generated. +Suppressed 52808 warnings (52806 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 427/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 428/1170][144.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_greater.cpp +59399 warnings generated. +Suppressed 59401 warnings (59399 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 429/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/common_type.cpp +51310 warnings generated. +Suppressed 51312 warnings (51310 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 430/1170][49.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rsqrt.cpp +52683 warnings generated. +Suppressed 52685 warnings (52683 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 431/1170][118.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp10.cpp +54545 warnings generated. +Suppressed 54547 warnings (54545 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 432/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/swap_adjacent.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51029 warnings generated. +Suppressed 50966 warnings (50964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 433/1170][88.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tand.cpp +54706 warnings generated. +Suppressed 54708 warnings (54706 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 434/1170][367.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minmag.cpp +65510 warnings generated. +Suppressed 65512 warnings (65510 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 435/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/clamp.cpp +45109 warnings generated. +Suppressed 45111 warnings (45109 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 436/1170][112.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_notand.cpp +57951 warnings generated. +Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 437/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/eps.cpp +44990 warnings generated. +Suppressed 44992 warnings (44990 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 438/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/exponentmask.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 439/1170][76.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpi.cpp +54050 warnings generated. +Suppressed 54052 warnings (54050 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 440/1170][105.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/ptr_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/ptr_iterator.cpp:21:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 21 | alignas(sizeof(T)) std::array, T::size()> data; + | ^ + | {} +54068 warnings generated. +Suppressed 53518 warnings (53516 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 441/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp +/Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp:11:85: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 11 | std::cout << "-> first_true(wu0 >= maximum(wu0)/2) = " << *eve::first_true(wu0 >= eve::maximum(wu0)/2) << "\n"; + | ^ +/Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp:12:85: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 12 | std::cout << "-> first_true[ignore_first(4)](wu0 <= maximum(wu0)/2 > 1u) = " << *eve::first_true[eve::ignore_first(4)](wu0 > 1u) << "\n"; + | ^ +45293 warnings generated. +Suppressed 45293 warnings (45291 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 442/1170][27.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/none_of_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54053 warnings generated. +Suppressed 53063 warnings (53061 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 443/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/four_pio_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 444/1170][99.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/tgamma.cpp +56569 warnings generated. +Suppressed 56571 warnings (56569 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 445/1170][30.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_back.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54687 warnings generated. +Suppressed 54046 warnings (54044 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 446/1170][60.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asinpi.cpp +53144 warnings generated. +Suppressed 53146 warnings (53144 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 447/1170][42.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log2_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 448/1170][56.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrt.cpp +53681 warnings generated. +Suppressed 53683 warnings (53681 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 449/1170][118.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/gamma_p.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +67530 warnings generated. +Suppressed 67525 warnings (67523 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 450/1170][85.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acscpi.cpp +53387 warnings generated. +Suppressed 53389 warnings (53387 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 451/1170][7.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/slide_left.cpp +44938 warnings generated. +Suppressed 44940 warnings (44938 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 452/1170][144.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_greater_equal.cpp +59384 warnings generated. +Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 453/1170][34.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/heaviside.cpp +52839 warnings generated. +Suppressed 52841 warnings (52839 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 454/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_not.cpp +55224 warnings generated. +Suppressed 55226 warnings (55224 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 455/1170][211.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/bitwise.cpp +55967 warnings generated. +Suppressed 55969 warnings (55967 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 456/1170][31.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp:22:12: warning: use designated initializer list to initialize 'polar_coords' [modernize-use-designated-initializers] + 22 | return { rho, theta }; + | ^~~~~~~~~~~~~~ + | .rho=.theta= +/Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp:13:3: note: aggregate type is defined here + 13 | struct polar_coords + | ^ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::polar_coords>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::polar_coords>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +57342 warnings generated. +Suppressed 56596 warnings (56594 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 457/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/diff_of_prod.cpp +45507 warnings generated. +Suppressed 45509 warnings (45507 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 458/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::map_iterator>, eve::fixed<4>>, (lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:23:53), eve::algo::nothing_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::map_iterator>, eve::fixed<4>>, (lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:23:53), eve::algo::nothing_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:29:75), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:17:47), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:26:47), eve::mul_t>, eve::one_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52720 warnings generated. +Suppressed 52222 warnings (52220 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 459/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fma.cpp +47828 warnings generated. +Suppressed 47830 warnings (47828 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 460/1170][129.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/modf.cpp +55556 warnings generated. +Suppressed 55558 warnings (55556 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 461/1170][113.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfc_inv.cpp +64901 warnings generated. +Suppressed 64903 warnings (64901 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 462/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/zeta.cpp +/Users/sadiinso/unsync/eve/test/doc/special/zeta.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); + | ^ +46892 warnings generated. +Suppressed 46893 warnings (46891 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 463/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fanm.cpp +48281 warnings generated. +Suppressed 48283 warnings (48281 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 464/1170][106.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/stirling.cpp +55678 warnings generated. +Suppressed 55680 warnings (55678 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 465/1170][77.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinhc.cpp +54472 warnings generated. +Suppressed 54474 warnings (54472 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 466/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/meta.cpp +51098 warnings generated. +Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 467/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fracscale.cpp +45858 warnings generated. +Suppressed 45860 warnings (45858 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 468/1170][37.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/zeta_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 469/1170][8.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive.cpp +45019 warnings generated. +Suppressed 45021 warnings (45019 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 470/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maxmag.cpp +46324 warnings generated. +Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 471/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_xor.cpp +45862 warnings generated. +Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 472/1170][43.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invsqrt_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 473/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/secd.cpp +46555 warnings generated. +Suppressed 46557 warnings (46555 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 474/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ornot.cpp +45887 warnings generated. +Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 475/1170][302.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_bi.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +73925 warnings generated. +Suppressed 73914 warnings (73912 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 476/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_jn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_jn.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wdf([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +48045 warnings generated. +Suppressed 48036 warnings (48034 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 477/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rsqrt.cpp +45667 warnings generated. +Suppressed 45669 warnings (45667 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 478/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/epso_2.cpp +52966 warnings generated. +Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 479/1170][38.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_pio_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 480/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/all.cpp +45301 warnings generated. +Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 481/1170][238.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/if_else.cpp +65600 warnings generated. +Suppressed 65602 warnings (65600 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 482/1170][190.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negabsmin.cpp +59774 warnings generated. +Suppressed 59776 warnings (59774 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 483/1170][36.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_sparse_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +55556 warnings generated. +Suppressed 54863 warnings (54861 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 484/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46616 warnings generated. +Suppressed 46610 warnings (46608 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 485/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/pattern.cpp +51287 warnings generated. +Suppressed 51289 warnings (51287 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 486/1170][55.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_reverse.cpp +54170 warnings generated. +Suppressed 54172 warnings (54170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 487/1170][77.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_floor.cpp +56566 warnings generated. +Suppressed 56568 warnings (56566 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 488/1170][55.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/remainder.cpp +52800 warnings generated. +Suppressed 52802 warnings (52800 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 489/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/zip.cpp +45108 warnings generated. +Suppressed 45110 warnings (45108 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 490/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atanpi.cpp +45857 warnings generated. +Suppressed 45859 warnings (45857 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 491/1170][100.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_not.cpp +57302 warnings generated. +Suppressed 57304 warnings (57302 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 492/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/find_last.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/find_last.cpp:21:49)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52071 warnings generated. +Suppressed 51592 warnings (51590 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 493/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponentp1.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 494/1170][44.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 495/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_ornot.cpp +45224 warnings generated. +Suppressed 45226 warnings (45224 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 496/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log10.cpp +45950 warnings generated. +Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 497/1170][229.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/scan.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/scan.cpp:22:3: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array arr; + | ^ + | {} +55561 warnings generated. +Suppressed 55391 warnings (55389 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 498/1170][57.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog10denormal.cpp +54897 warnings generated. +Suppressed 54899 warnings (54897 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 499/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_basic_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +56003 warnings generated. +Suppressed 55311 warnings (55309 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 500/1170][124.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_andnot.cpp +57951 warnings generated. +Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 501/1170][435.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'double' into type 'float' might result in loss of precision [bugprone-fold-init-type] + 55 | auto expected = std::reduce(f, l, ini); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'int' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'short' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'unsigned short' into type 'unsigned char' might result in loss of precision [bugprone-fold-init-type] +56095 warnings generated. +Suppressed 54389 warnings (54387 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 502/1170][214.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:18:25: warning: repeated branch body in conditional chain [bugprone-branch-clone] + 18 | if constexpr( G > 1 ) return kumi::tuple {eve::index<1>}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:18:59: note: end of the original + 18 | if constexpr( G > 1 ) return kumi::tuple {eve::index<1>}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:20:53: note: clone 1 starts here + 20 | else if constexpr( !eve::unsigned_simd_value ) return kumi::tuple {eve::index<1>}; + | ^ +65821 warnings generated. +Suppressed 64928 warnings (64926 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 503/1170][102.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/identity.cpp +57030 warnings generated. +Suppressed 57032 warnings (57030 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 504/1170][99.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_k0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +55875 warnings generated. +Suppressed 55870 warnings (55868 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 505/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_kn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_kn.cpp:6:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 6 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +47420 warnings generated. +Suppressed 47414 warnings (47412 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 506/1170][33.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/reverse_horner.cpp +53648 warnings generated. +Suppressed 53650 warnings (53648 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 507/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/convert.cpp +45415 warnings generated. +Suppressed 45417 warnings (45415 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 508/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/horner.cpp +45624 warnings generated. +Suppressed 45626 warnings (45624 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 509/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asec.cpp +46265 warnings generated. +Suppressed 46267 warnings (46265 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 510/1170][119.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/double_factorial.cpp +65217 warnings generated. +Suppressed 65219 warnings (65217 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 511/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_less_equal.cpp +46330 warnings generated. +Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 512/1170][20.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 166 | bool main_check(unaligned_t haystack_i) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 187 | bool small_check(wide_value_type_t haystack) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53002 warnings generated. +Suppressed 52595 warnings (52593 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 513/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/round.cpp +46369 warnings generated. +Suppressed 46371 warnings (46369 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 514/1170][104.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_lez.cpp +57893 warnings generated. +Suppressed 57895 warnings (57893 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 515/1170][35.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/jacobi.cpp +53819 warnings generated. +Suppressed 53821 warnings (53819 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 516/1170][72.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rc.cpp +57386 warnings generated. +Suppressed 57388 warnings (57386 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 517/1170][119.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cotd.cpp +54568 warnings generated. +Suppressed 54570 warnings (54568 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 518/1170][125.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_jn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +60466 warnings generated. +Suppressed 60455 warnings (60453 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 519/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_floating_point.cpp +51101 warnings generated. +Suppressed 51103 warnings (51101 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 520/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/dawson.cpp +46202 warnings generated. +Suppressed 46204 warnings (46202 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 521/1170][19.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/tchebytchev.cpp +48584 warnings generated. +Suppressed 48586 warnings (48584 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 522/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mhalf.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 523/1170][88.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rshl.cpp +56838 warnings generated. +Suppressed 56840 warnings (56838 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 524/1170][104.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_tuple.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +58496 warnings generated. +Suppressed 57112 warnings (57110 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 525/1170][72.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_and_remove_generic_test.hpp:27:15: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 27 | alignas(64) std::array data; + | ^ + | {} +54186 warnings generated. +Suppressed 53642 warnings (53640 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 526/1170][101.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ltz.cpp +57837 warnings generated. +Suppressed 57839 warnings (57837 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 527/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negmaxabs.cpp +46324 warnings generated. +Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 528/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_andnot.cpp +45220 warnings generated. +Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 529/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/mismatch.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52303 warnings generated. +Suppressed 51833 warnings (51831 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 530/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/test_pch.dir/cmake_pch.hxx.cxx +54004 warnings generated. +Suppressed 54006 warnings (54004 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 531/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52059 warnings generated. +Suppressed 51597 warnings (51595 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 532/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_lez.cpp +46172 warnings generated. +Suppressed 46174 warnings (46172 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 533/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lo.cpp +46331 warnings generated. +Suppressed 46333 warnings (46331 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 534/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/gd.cpp +/Users/sadiinso/unsync/eve/test/doc/math/gd.cpp:7:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf = [](auto i, auto c) { return 2.f*(i-c/2);}; + | ^ +45816 warnings generated. +Suppressed 45817 warnings (45815 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 535/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tanpi.cpp +46287 warnings generated. +Suppressed 46289 warnings (46287 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 536/1170][270.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/min.cpp +62627 warnings generated. +Suppressed 62629 warnings (62627 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 537/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ornot.cpp +60265 warnings generated. +Suppressed 60267 warnings (60265 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 538/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/firstbitunset.cpp +45317 warnings generated. +Suppressed 45319 warnings (45317 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 539/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cosd.cpp +46338 warnings generated. +Suppressed 46340 warnings (46338 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 540/1170][264.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/inc.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/inc.cpp:74:43: warning: expression is redundant [misc-redundant-expression] + 74 | { return v_t((e > 64 && e != eve::valmin(eve::as(e)) ? e + 1 : e)); }, + | ^ +62017 warnings generated. +Suppressed 61983 warnings (61981 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 541/1170][101.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/round.cpp +55533 warnings generated. +Suppressed 55535 warnings (55533 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 542/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_denormal.cpp +46195 warnings generated. +Suppressed 46197 warnings (46195 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 543/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/csc.cpp +47112 warnings generated. +Suppressed 47114 warnings (47112 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 544/1170][197.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/logicals.cpp +56401 warnings generated. +Suppressed 56403 warnings (56401 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 545/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/legacy_l0.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +51579 warnings generated. +Suppressed 51559 warnings (51557 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 546/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asind.cpp +45728 warnings generated. +Suppressed 45730 warnings (45728 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 547/1170][75.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_if_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 94 | Test test) + | ^ + | const & +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54359 warnings generated. +Suppressed 53761 warnings (53759 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 548/1170][326.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/slide_right.cpp +58476 warnings generated. +Suppressed 58478 warnings (58476 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 549/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_y0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +57733 warnings generated. +Suppressed 57728 warnings (57726 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 550/1170][402.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sub.cpp +70780 warnings generated. +Suppressed 70782 warnings (70780 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 551/1170][15.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46545 warnings generated. +Suppressed 46539 warnings (46537 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 552/1170][40.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cosh_1.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 553/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acotd.cpp +45558 warnings generated. +Suppressed 45560 warnings (45558 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 554/1170][95.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrtvalmax.cpp +53728 warnings generated. +Suppressed 53730 warnings (53728 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 555/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/quick-start/constant.cpp +44958 warnings generated. +Suppressed 44960 warnings (44958 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 556/1170][66.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/gegenbauer.cpp +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, float>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, float>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), float, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, float, eve::wide>>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, float, eve::wide>>' calls function 'operator(), float, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const float &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_, eve::wide>, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide, float, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), float, float>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, float, float>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, float, float>' calls function 'operator(), float, float>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), float, float>' calls function 'behavior>, eve::options>>, eve::wide, float, float, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, float, float, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const float &, const float &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_, float, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, float, float, eve::options>>>' calls function 'apply_over>, eve::wide, float, float>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, double>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, double>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, double>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, double>' calls function 'operator()>, double, double>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, double>' calls function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_>, double, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, double, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, double>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, eve::wide>>' + 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 19 | gegenbauer_(EVE_REQUIRES(cpu_), O const&, I nn, U lambda, T x) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_>, double, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, double, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, double>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, double, double>' calls function 'operator()>, double, double>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, double, double>' calls function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, eve::wide>>' calls function 'operator()>, float, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_>, float, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, float, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, float>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, float>' calls function 'operator()>, float, float>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, float>' calls function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, eve::wide>>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, eve::wide>>' calls function 'operator()>, float, eve::wide>>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' + 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: + 126 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_>, float, float, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, float, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, float>' here: + 73 | else return apply_over(gegenbauer, nn, lambda, x); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, float>' calls function 'operator()>, float, float>' here: + 33 | else return f(arg0, args...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, float>' calls function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: + 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/test/unit/module/polynomial/gegenbauer.cpp:45:8: warning: declaration uses identifier 'eve__gegenbauerv', which is a reserved identifier [bugprone-reserved-identifier] + 45 | auto eve__gegenbauerv = [l](auto n, auto x) { return eve::gegenbauer(n, l, x); }; + | ^~~~~~~~~~~~~~~~ + | eve_gegenbauerv + 46 | for( unsigned int n = 0; n < 5; ++n ) + 47 | { + 48 | auto boost_gegenbauer = [&](auto i, auto) { return boost::math::gegenbauer(n, l, a0.get(i)); }; + 49 | TTS_ULP_EQUAL(eve__gegenbauerv(n, a0), T(boost_gegenbauer), 256); + | ~~~~~~~~~~~~~~~~ + | eve_gegenbauerv + 50 | } + 51 | auto boost_gegenbauerv = [&](auto i, auto) + 52 | { return boost::math::gegenbauer(i0.get(i), l, a0.get(i)); }; + 53 | TTS_ULP_EQUAL(eve__gegenbauerv(i0, a0), T(boost_gegenbauerv), 256); + | ~~~~~~~~~~~~~~~~ + | eve_gegenbauerv + 54 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) + 55 | { + 56 | auto boost_gegenbauer2 = [&](auto i, auto) + 57 | { return boost::math::gegenbauer(i0.get(i), l, a0.get(j)); }; + 58 | TTS_ULP_EQUAL(eve__gegenbauerv(i0, a0.get(j)), T(boost_gegenbauer2), 256); + | ~~~~~~~~~~~~~~~~ + | eve_gegenbauerv +53950 warnings generated. +Suppressed 53925 warnings (53923 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 557/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_swap_adjacent.cpp +45442 warnings generated. +Suppressed 45444 warnings (45442 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 558/1170][85.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fracscale.cpp +54706 warnings generated. +Suppressed 54708 warnings (54706 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 559/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cotpi.cpp +46227 warnings generated. +Suppressed 46229 warnings (46227 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 560/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acsc.cpp +45568 warnings generated. +Suppressed 45570 warnings (45568 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 561/1170][194.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/abs.cpp +59705 warnings generated. +Suppressed 59707 warnings (59705 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 562/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lrising_factorial.cpp +46775 warnings generated. +Suppressed 46777 warnings (46775 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 563/1170][39.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_phi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 564/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/beta.cpp +46627 warnings generated. +Suppressed 46629 warnings (46627 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 565/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/floor.cpp +46371 warnings generated. +Suppressed 46373 warnings (46371 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 566/1170][126.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_xor.cpp +57942 warnings generated. +Suppressed 57944 warnings (57942 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 567/1170][206.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_double.cpp +53499 warnings generated. +Suppressed 53501 warnings (53499 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 568/1170][460.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fsm.cpp +75272 warnings generated. +Suppressed 75274 warnings (75272 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 569/1170][22.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-03.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +54059 warnings generated. +Suppressed 53530 warnings (53528 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 570/1170][95.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint32.cpp +53357 warnings generated. +Suppressed 53359 warnings (53357 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 571/1170][123.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_j0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +57302 warnings generated. +Suppressed 57297 warnings (57295 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 572/1170][8.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/simd_cast.cpp +44984 warnings generated. +Suppressed 44986 warnings (44984 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 573/1170][96.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint8.cpp +53412 warnings generated. +Suppressed 53414 warnings (53412 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 574/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/remainder.cpp +45959 warnings generated. +Suppressed 45961 warnings (45959 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 575/1170][31.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/fibonacci.cpp +52647 warnings generated. +Suppressed 52649 warnings (52647 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 576/1170][144.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/reverse.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | std::array x_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array shuffled_a; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 163 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type + 163 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 164 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning + 10 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type + 164 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 165 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type + 165 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 166 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type + 166 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 167 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type + 167 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 168 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type + 168 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 169 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type + 169 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 170 | r(eve::index, std::make_index_sequence {}); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type + 170 | r(eve::index, std::make_index_sequence {}); + | ^~~~ + | static_cast( ) +61080 warnings generated. +Suppressed 60580 warnings (60578 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 577/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/reduce.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52065 warnings generated. +Suppressed 51610 warnings (51608 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 578/1170][135.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/secd.cpp +54798 warnings generated. +Suppressed 54800 warnings (54798 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 579/1170][37.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/iota_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 38 | value_type base; + | + | {} + 39 | value_type step; + | + | {} + 40 | std::ptrdiff_t i; + | + | {} + 41 | wv_type wide_cur; + 42 | + 43 | iota_with_step_iterator() = default; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +56210 warnings generated. +Suppressed 55336 warnings (55334 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 580/1170][127.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maximum.cpp +56218 warnings generated. +Suppressed 56220 warnings (56218 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 581/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress_store.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51006 warnings generated. +Suppressed 50943 warnings (50941 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 582/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/allbits.cpp +44991 warnings generated. +Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 583/1170][68.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atand.cpp +53422 warnings generated. +Suppressed 53424 warnings (53422 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 584/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minimum.cpp +45992 warnings generated. +Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 585/1170][118.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_logical.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +55401 warnings generated. +Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 586/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acos.cpp +46091 warnings generated. +Suppressed 46093 warnings (46091 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 587/1170][119.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_j1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +57155 warnings generated. +Suppressed 57150 warnings (57148 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 588/1170][460.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/constants.cpp +58555 warnings generated. +Suppressed 58557 warnings (58555 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 589/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/replace_ignored.cpp +45043 warnings generated. +Suppressed 45045 warnings (45043 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 590/1170][93.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_cast.cpp +54294 warnings generated. +Suppressed 54296 warnings (54294 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 591/1170][111.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nlez.cpp +58151 warnings generated. +Suppressed 58153 warnings (58151 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 592/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minmag.cpp +46325 warnings generated. +Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 593/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/mul.cpp +47302 warnings generated. +Suppressed 47304 warnings (47302 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 594/1170][123.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ceil.cpp +55876 warnings generated. +Suppressed 55878 warnings (55876 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 595/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/map.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46241 warnings generated. +Suppressed 45849 warnings (45847 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 596/1170][168.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_logical.cpp +59830 warnings generated. +Suppressed 59832 warnings (59830 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 597/1170][85.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asech.cpp +53812 warnings generated. +Suppressed 53814 warnings (53812 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 598/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/wide_value_type.cpp +51149 warnings generated. +Suppressed 51151 warnings (51149 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 599/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_set.cpp +45193 warnings generated. +Suppressed 45195 warnings (45193 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 600/1170][39.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_pio_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 601/1170][265.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp2.cpp +57019 warnings generated. +Suppressed 57021 warnings (57019 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 602/1170][167.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_float.cpp +53454 warnings generated. +Suppressed 53456 warnings (53454 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 603/1170][187.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:11:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 11 | load_op(int) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:22:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 22 | store_op(int) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:33:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | alignas(sizeof(T)) std::array, T::size()> data; + | ^ + | {} +57186 warnings generated. +Suppressed 56245 warnings (56243 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 604/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rd.cpp +46394 warnings generated. +Suppressed 46396 warnings (46394 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 605/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/false_.cpp +45040 warnings generated. +Suppressed 45042 warnings (45040 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 606/1170][178.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow1p.cpp +56403 warnings generated. +Suppressed 56405 warnings (56403 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 607/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/deginrad.cpp +45329 warnings generated. +Suppressed 45331 warnings (45329 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 608/1170][40.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi_minus_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 609/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/div.cpp +46692 warnings generated. +Suppressed 46694 warnings (46692 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 610/1170][126.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_logical.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +55647 warnings generated. +Suppressed 55605 warnings (55603 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 611/1170][26.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nepz.cpp +52400 warnings generated. +Suppressed 52402 warnings (52400 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 612/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/zero.cpp +51490 warnings generated. +Suppressed 51492 warnings (51490 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 613/1170][40.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invcbrt_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 614/1170][94.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int32.cpp +53240 warnings generated. +Suppressed 53242 warnings (53240 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 615/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mindenormal.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 616/1170][40.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cbrt_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 617/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/std_compatibility.cpp +51188 warnings generated. +Suppressed 51190 warnings (51188 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 618/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_constant.cpp +45085 warnings generated. +Suppressed 45087 warnings (45085 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 619/1170][53.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog2denormal.cpp +54758 warnings generated. +Suppressed 54760 warnings (54758 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 620/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sin.cpp +46959 warnings generated. +Suppressed 46961 warnings (46959 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 621/1170][153.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54160 warnings generated. +Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 622/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/bernouilli.cpp +53754 warnings generated. +Suppressed 53756 warnings (53754 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 623/1170][106.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nez.cpp +57626 warnings generated. +Suppressed 57628 warnings (57626 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 624/1170][82.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/frexp.cpp +53956 warnings generated. +Suppressed 53958 warnings (53956 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 625/1170][103.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asecpi.cpp +53614 warnings generated. +Suppressed 53616 warnings (53614 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 626/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_unset.cpp +45196 warnings generated. +Suppressed 45198 warnings (45196 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 627/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/has_abi.cpp +51376 warnings generated. +Suppressed 51378 warnings (51376 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 628/1170][114.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lbeta.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +55450 warnings generated. +Suppressed 55445 warnings (55443 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 629/1170][54.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog2.cpp +54925 warnings generated. +Suppressed 54927 warnings (54925 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 630/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/any.cpp +45301 warnings generated. +Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 631/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/log_abs_gamma.cpp +46652 warnings generated. +Suppressed 46654 warnings (46652 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 632/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/convert.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46080 warnings generated. +Suppressed 45694 warnings (45692 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 633/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/agm.cpp +46241 warnings generated. +Suppressed 46243 warnings (46241 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 634/1170][24.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/prime_ceil.cpp +45427 warnings generated. +Suppressed 45429 warnings (45427 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 635/1170][28.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54125 warnings generated. +Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 636/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/square_or_diff.cpp +45090 warnings generated. +Suppressed 45092 warnings (45090 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 637/1170][16.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/laguerre.cpp +47610 warnings generated. +Suppressed 47612 warnings (47610 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 638/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/fibonacci.cpp +45775 warnings generated. +Suppressed 45777 warnings (45775 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 639/1170][51.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lo.cpp +53681 warnings generated. +Suppressed 53683 warnings (53681 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 640/1170][249.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negminabs.cpp +60588 warnings generated. +Suppressed 60590 warnings (60588 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 641/1170][83.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:17:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 17 | std::array r; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:759:57: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 759 | .zeroes = {true, false, {0, 1, 1, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:767:34: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 767 | .register_blends = {{{true, false, {1, 0, 1, 0}}, {true, false, {0, 1, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:767:63: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 767 | .register_blends = {{{true, false, {1, 0, 1, 0}}, {true, false, {0, 1, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:774:34: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 774 | .register_blends = {{{true, true, {1, 0, 0, 0}}, {true, true, {0, 0, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:774:62: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 774 | .register_blends = {{{true, true, {1, 0, 0, 0}}, {true, true, {0, 0, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:780:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 780 | .register_blends = {{{true, true, {1, 0, 0, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:781:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 781 | {false, true, {0, 0, 0, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:782:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 782 | {true, false, {0, 0, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:789:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 789 | .register_blends = {{{true, false, {1, 1, 0, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:790:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 790 | {false, true, {0, 0, 0, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:791:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 791 | {true, false, {0, 0, 0, 1}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:798:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 798 | .register_blends = {{{true, false, {0, 1, 0, 1}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:799:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 799 | {false, true, {0, 0, 0, 0}}, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:800:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] + 800 | {false, true, {0, 0, 0, 0}}}}}); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | .present_in_blend= .present_in_shuffle= .idxs= +/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here + 760 | struct blend_pattern + | ^ +52045 warnings generated. +Suppressed 51982 warnings (51980 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 642/1170][55.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/manhattan.cpp +53038 warnings generated. +Suppressed 53040 warnings (53038 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 643/1170][17.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:31:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:38:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:24:32)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52449 warnings generated. +Suppressed 51971 warnings (51969 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 644/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/coth.cpp +46157 warnings generated. +Suppressed 46159 warnings (46157 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 645/1170][106.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asecd.cpp +53613 warnings generated. +Suppressed 53615 warnings (53613 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 646/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp:209:3: warning: function 'get_unrolling' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | constexpr std::ptrdiff_t get_unrolling() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp:214:3: warning: function 'is_divisible_by_cardinal' should be marked [[nodiscard]] [modernize-use-nodiscard] + 214 | constexpr bool is_divisible_by_cardinal() const + | ^ + | [[nodiscard]] +52266 warnings generated. +Suppressed 51873 warnings (51871 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 647/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tan.cpp +46937 warnings generated. +Suppressed 46939 warnings (46937 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 648/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asech.cpp +45740 warnings generated. +Suppressed 45742 warnings (45740 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 649/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_infinite.cpp +46239 warnings generated. +Suppressed 46241 warnings (46239 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 650/1170][134.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_yn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +62454 warnings generated. +Suppressed 62441 warnings (62439 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 651/1170][307.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/broadcast.cpp +59848 warnings generated. +Suppressed 59850 warnings (59848 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 652/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow1p.cpp +46945 warnings generated. +Suppressed 46947 warnings (46945 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 653/1170][193.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/max.cpp +59102 warnings generated. +Suppressed 59104 warnings (59102 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 654/1170][380.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maxmag.cpp +64774 warnings generated. +Suppressed 64776 warnings (64774 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 655/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/aggregation.cpp +51099 warnings generated. +Suppressed 51101 warnings (51099 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 656/1170][67.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cos.cpp +54997 warnings generated. +Suppressed 54999 warnings (54997 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 657/1170][190.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint8.cpp +53565 warnings generated. +Suppressed 53567 warnings (53565 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 658/1170][112.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinc.cpp +55556 warnings generated. +Suppressed 55558 warnings (55556 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 659/1170][40.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/exp_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 660/1170][29.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::algo::range_ref_wrapper>, eve::algo::range_ref_wrapper>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54665 warnings generated. +Suppressed 54109 warnings (54107 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 661/1170][32.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, float> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, unsigned char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, float> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, unsigned char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'double' into type 'float' might result in loss of precision [bugprone-fold-init-type] + 55 | auto expected = std::reduce(f, l, ini); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'int' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'short' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'unsigned short' into type 'unsigned char' might result in loss of precision [bugprone-fold-init-type] +55829 warnings generated. +Suppressed 54783 warnings (54781 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 662/1170][43.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_pi.cpp +52961 warnings generated. +Suppressed 52963 warnings (52961 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 663/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/two_add.cpp +45307 warnings generated. +Suppressed 45309 warnings (45307 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 664/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lpnorm.cpp +46901 warnings generated. +Suppressed 46903 warnings (46901 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 665/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countl_one.cpp +45367 warnings generated. +Suppressed 45369 warnings (45367 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 666/1170][540.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_wide.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +66555 warnings generated. +Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 667/1170][129.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/factorial.cpp +53426 warnings generated. +Suppressed 53428 warnings (53426 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 668/1170][27.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/transform_points_into_lines.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, udt::line2D>, eve::algo::views::converting_iterator, udt::line2D>> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +58390 warnings generated. +Suppressed 57594 warnings (57592 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 669/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 670/1170][579.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_wide.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +63523 warnings generated. +Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 671/1170][102.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_gtz.cpp +57893 warnings generated. +Suppressed 57895 warnings (57893 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 672/1170][86.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/exponent.cpp +53680 warnings generated. +Suppressed 53682 warnings (53680 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 673/1170][36.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/shuffle/slide_right.cpp +52027 warnings generated. +Suppressed 52029 warnings (52027 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 674/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_notor.cpp +45887 warnings generated. +Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 675/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rg.cpp +46429 warnings generated. +Suppressed 46431 warnings (46429 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 676/1170][212.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negmaxabs.cpp +60067 warnings generated. +Suppressed 60069 warnings (60067 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 677/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_supports.cpp +45338 warnings generated. +Suppressed 45340 warnings (45338 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 678/1170][59.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acotpi.cpp +53374 warnings generated. +Suppressed 53376 warnings (53374 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 679/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_finite.cpp +46207 warnings generated. +Suppressed 46209 warnings (46207 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 680/1170][103.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fdim.cpp +56450 warnings generated. +Suppressed 56452 warnings (56450 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 681/1170][68.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_width.cpp +53982 warnings generated. +Suppressed 53984 warnings (53982 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 682/1170][16.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/nthroot.cpp +46737 warnings generated. +Suppressed 46739 warnings (46737 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 683/1170][192.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/nthroot.cpp +57023 warnings generated. +Suppressed 57025 warnings (57023 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 684/1170][27.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/any_of_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54037 warnings generated. +Suppressed 53063 warnings (53061 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 685/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_normal.cpp +46230 warnings generated. +Suppressed 46232 warnings (46230 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 686/1170][110.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_j0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +56054 warnings generated. +Suppressed 56049 warnings (56047 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 687/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fsm.cpp +48252 warnings generated. +Suppressed 48254 warnings (48252 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 688/1170][37.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_2eps.cpp +52966 warnings generated. +Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 689/1170][94.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rotr.cpp +56523 warnings generated. +Suppressed 56525 warnings (56523 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 690/1170][97.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/log_abs_gamma.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +55314 warnings generated. +Suppressed 55309 warnings (55307 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 691/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/translation/base.cpp +51108 warnings generated. +Suppressed 51110 warnings (51108 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 692/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_and.cpp +45860 warnings generated. +Suppressed 45862 warnings (45860 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 693/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert_zip.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53927 warnings generated. +Suppressed 53482 warnings (53480 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 694/1170][80.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sincos.cpp +56460 warnings generated. +Suppressed 56462 warnings (56460 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 695/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfc.cpp +46500 warnings generated. +Suppressed 46502 warnings (46500 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 696/1170][276.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maxabs.cpp +64135 warnings generated. +Suppressed 64137 warnings (64135 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 697/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cosh.cpp +46357 warnings generated. +Suppressed 46359 warnings (46357 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 698/1170][309.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_ai.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:417:22: warning: The left operand of '' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult] + 417 | T z = (u + n % 2); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_ai.cpp:33:49: note: Calling 'airy_ai' + 33 | auto std_airy_ai = [](auto x) -> v_t { return boost::math::airy_ai(x); }; + | ^~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:284:11: note: Calling 'airy_ai>' + 284 | return airy_ai(x, policies::policy<>()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:278:65: note: Calling 'airy_ai_imp>' + 278 | return policies::checked_narrowing_cast(detail::airy_ai_imp(static_cast(x), forwarding_policy()), "boost::math::airy<%1%>(%1%)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:26:7: note: Assuming 'x' is >= 0 + 26 | if(x < 0) + | ^~~~~ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:26:4: note: Taking false branch + 26 | if(x < 0) + | ^ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:36:12: note: Assuming the condition is false + 36 | else if(fabs(x * x * x) / 6 < tools::epsilon()) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:36:9: note: Taking false branch + 36 | else if(fabs(x * x * x) / 6 < tools::epsilon()) + | ^ +/opt/homebrew/include/boost/math/special_functions/airy.hpp:53:14: note: Calling 'cyl_bessel_k>' + 53 | T ai = cyl_bessel_k(v, p, pol) * sqrt(x / 3) / boost::math::constants::pi(); //sqrt(x) * (j1 - j2) / 3; + | ^~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:577:65: note: Calling 'cyl_bessel_k_imp>' + 577 | return policies::checked_narrowing_cast(detail::cyl_bessel_k_imp(v, static_cast(x), tag_type(), forwarding_policy()), "boost::math::cyl_bessel_k<%1%>(%1%,%1%)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:254:8: note: Assuming the condition is false + 254 | if((floor(v) == v)) + | ^~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:254:4: note: Taking false branch + 254 | if((floor(v) == v)) + | ^ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:258:11: note: Calling 'cyl_bessel_k_imp>' + 258 | return cyl_bessel_k_imp(v, x, bessel_no_int_tag(), pol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:236:7: note: Assuming 'x' is >= 0 + 236 | if(x < 0) + | ^~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:236:4: note: Taking false branch + 236 | if(x < 0) + | ^ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:240:7: note: Assuming 'x' is not equal to 0 + 240 | if(x == 0) + | ^~~~~~ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:240:4: note: Taking false branch + 240 | if(x == 0) + | ^ +/opt/homebrew/include/boost/math/special_functions/bessel.hpp:246:4: note: Calling 'bessel_ik>' + 246 | bessel_ik(v, x, &result_I, &result_K, need_k, pol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:307:14: note: 'n' declared without an initial value + 307 | unsigned n, k; + | ^ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:319:9: note: Assuming 'v' is < 0 + 319 | if (v < 0) + | ^~~~~ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:319:5: note: Taking true branch + 319 | if (v < 0) + | ^ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:9: note: Left side of '&&' is true + 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) + | ^ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:36: note: Assuming the condition is true + 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:5: note: Taking true branch + 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) + | ^ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:415:9: note: 'reflect' is true + 415 | if (reflect) + | ^~~~~~~ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:415:5: note: Taking true branch + 415 | if (reflect) + | ^ +/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:417:22: note: The left operand of '' is a garbage value + 417 | T z = (u + n % 2); + | ~ ^ +73362 warnings generated. +Suppressed 73350 warnings (73348 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 699/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/zero.cpp +44991 warnings generated. +Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 700/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minmax.cpp +46321 warnings generated. +Suppressed 46323 warnings (46321 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 701/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rshr.cpp +45277 warnings generated. +Suppressed 45279 warnings (45277 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 702/1170][98.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tan.cpp +55444 warnings generated. +Suppressed 55446 warnings (55444 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 703/1170][20.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:49:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] + 49 | switch ( i % 3 ) + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:172:5: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 172 | std::array actual; + | ^ + | {} +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:179:5: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 179 | std::array actual; + | ^ + | {} +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:214:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 214 | int expected_r = convert_bgra_to_rgb_scalar(rng, expected.data()) - expected.data(); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:215:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 215 | int actual_r = convert_bgra_to_rgb(rng, actual.data()) - actual.data(); + | ^ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +52623 warnings generated. +Suppressed 52157 warnings (52155 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 704/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/epsilon.cpp +46456 warnings generated. +Suppressed 46458 warnings (46456 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 705/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/manhattan.cpp +47075 warnings generated. +Suppressed 47077 warnings (47075 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 706/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asinpi.cpp +45714 warnings generated. +Suppressed 45716 warnings (45714 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 707/1170][20.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrteps.cpp +51513 warnings generated. +Suppressed 51515 warnings (51513 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 708/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpicospi.cpp +/Users/sadiinso/unsync/eve/test/doc/math/sinpicospi.cpp:8:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 8 | eve::wide wf = [](auto i, auto c) { return 2.f*(i-c/2);}; + | ^ +45647 warnings generated. +Suppressed 45648 warnings (45646 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 709/1170][85.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_float.cpp +53138 warnings generated. +Suppressed 53140 warnings (53138 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 710/1170][84.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpic.cpp +54309 warnings generated. +Suppressed 54311 warnings (54309 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 711/1170][86.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_jn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +60440 warnings generated. +Suppressed 60429 warnings (60427 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 712/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/constant.cpp +45266 warnings generated. +Suppressed 45268 warnings (45266 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 713/1170][220.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/last_true.cpp +52812 warnings generated. +Suppressed 52814 warnings (52812 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 714/1170][110.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp:23:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 23 | std::array, 3 * T::size()> ref; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp:37:3: warning: uninitialized record type: 'target' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 37 | std::array, 3 * T::size()> target; + | ^ + | {} +56969 warnings generated. +Suppressed 56799 warnings (56797 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 715/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_less.cpp +46330 warnings generated. +Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 716/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lohi.cpp +46291 warnings generated. +Suppressed 46293 warnings (46291 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 717/1170][785.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_wide.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +66555 warnings generated. +Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 718/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/quick-start/sanity-check.cpp +45039 warnings generated. +Suppressed 45041 warnings (45039 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 719/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/twotonmb.cpp +44964 warnings generated. +Suppressed 44966 warnings (44964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 720/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_width.cpp +45439 warnings generated. +Suppressed 45441 warnings (45439 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 721/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/has_equal_in.cpp +45265 warnings generated. +Suppressed 45267 warnings (45265 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 722/1170][73.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/comparison.cpp +52099 warnings generated. +Suppressed 52101 warnings (52099 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 723/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dec.cpp +47397 warnings generated. +Suppressed 47399 warnings (47397 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 724/1170][114.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_notand.cpp +60280 warnings generated. +Suppressed 60282 warnings (60280 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 725/1170][106.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ngez.cpp +58095 warnings generated. +Suppressed 58097 warnings (58095 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 726/1170][31.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/set_intersection.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, eve::algo::views::zip_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>>>, eve::algo::views::converting_iterator>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, eve::algo::views::zip_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>>>, eve::algo::views::converting_iterator>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, eve::algo::views::zip_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, eve::algo::views::zip_iterator> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +57563 warnings generated. +Suppressed 56579 warnings (56577 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 727/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/logical.cpp +51288 warnings generated. +Suppressed 51290 warnings (51288 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 728/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/two_prod.cpp +45260 warnings generated. +Suppressed 45262 warnings (45260 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 729/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acot.cpp +45550 warnings generated. +Suppressed 45552 warnings (45550 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 730/1170][9.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrtvalmax.cpp +44992 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 731/1170][37.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/zeta_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 732/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/frexp.cpp +46368 warnings generated. +Suppressed 46370 warnings (46368 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 733/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sign_alternate.cpp +55973 warnings generated. +Suppressed 55975 warnings (55973 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 734/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_positive.cpp +46180 warnings generated. +Suppressed 46182 warnings (46180 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 735/1170][99.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reverse_copy_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +69975 warnings generated. +Suppressed 67464 warnings (67462 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 736/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/concepts.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +52535 warnings generated. +Suppressed 52119 warnings (52117 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 737/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:28:7) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:28:7) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:19:26: warning: use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] + 19 | if( it != last ) res.push_back({last, it}); + | ^~~~~~~~~~~ ~ + | emplace_back( +/Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:23:37: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] + 23 | std::span us{ (const std::uint8_t*) s.data(), s.size() }; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51884 warnings generated. +Suppressed 51441 warnings (51439 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 738/1170][16.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/double_factorial.cpp +47708 warnings generated. +Suppressed 47710 warnings (47708 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 739/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compare_absolute.cpp +46234 warnings generated. +Suppressed 46236 warnings (46234 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 740/1170][60.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/algorithm/scan.cpp +53160 warnings generated. +Suppressed 53162 warnings (53160 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 741/1170][40.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/chi.cpp +53327 warnings generated. +Suppressed 53329 warnings (53327 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 742/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:19:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 19 | eve::wide lhs = [](int i, int) { return udt::grid2d{ i%6, i%5 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:20:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 20 | eve::wide rhs = [](int i, int) { return udt::grid2d{-i%3, i%3 ? +3 : -3}; }; + | ^~~~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:27:98: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 27 | eve::wide ref_t0 = [&](int i, int) { return mask.get(i) ? lhs.get(i) : udt::grid2d{0,0}; }; + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:31:85: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 31 | eve::wide ref_0f = [&](int i, int) { return mask.get(i) ? udt::grid2d{0,0} : rhs.get(i) ; }; + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:41:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 41 | eve::wide lhs = [](int i, int) { return udt::grid2d{ i%6, i%5 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:42:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 42 | eve::wide rhs = [](int i, int) { return udt::grid2d{-i%3, i%3 ? +3 : -3}; }; + | ^~~~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:47:95: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 47 | eve::wide ref_0 = [&](int i, int c) { return i < c/2 ? lhs.get(i) : udt::grid2d{0,0}; }; + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +51343 warnings generated. +Suppressed 51338 warnings (51336 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 743/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atanh.cpp +45686 warnings generated. +Suppressed 45688 warnings (45686 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 744/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp:31:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 31 | auto const* f1 = reinterpret_cast(lhs); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp:33:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 33 | auto const* f2 = reinterpret_cast(rhs); + | ^ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52477 warnings generated. +Suppressed 52008 warnings (52006 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 745/1170][58.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan.cpp +53368 warnings generated. +Suppressed 53370 warnings (53368 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 746/1170][8.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp +/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:12:16: warning: use c++17 style variable templates [modernize-type-traits] + 12 | << std::is_same::value << "\n" + | ^ ~~~~~~~ + | _v +/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:13:16: warning: use c++17 style variable templates [modernize-type-traits] + 13 | << std::is_same>::value << "\n" + | ^ ~~~~~~~ + | _v +/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:14:16: warning: use c++17 style variable templates [modernize-type-traits] + 14 | << std::is_same>::value << "\n"; + | ^ ~~~~~~~ + | _v +44948 warnings generated. +Suppressed 44947 warnings (44945 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 747/1170][47.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_pow2.cpp +53120 warnings generated. +Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 748/1170][18.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/airy.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +49061 warnings generated. +Suppressed 49052 warnings (49050 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 749/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/as_value.cpp +44990 warnings generated. +Suppressed 44992 warnings (44990 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 750/1170][116.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_nan.cpp +57725 warnings generated. +Suppressed 57727 warnings (57725 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 751/1170][801.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/decorated.div.cpp +71195 warnings generated. +Suppressed 71197 warnings (71195 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 752/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/flush_denormal.cpp +45799 warnings generated. +Suppressed 45801 warnings (45799 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 753/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinh.cpp +46374 warnings generated. +Suppressed 46376 warnings (46374 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 754/1170][105.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_tuple.small.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +58014 warnings generated. +Suppressed 56564 warnings (56562 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 755/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fsnm.cpp +48284 warnings generated. +Suppressed 48286 warnings (48284 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 756/1170][19.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:51:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 51 | auto *f1 = reinterpret_cast(a.begin()); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:52:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 52 | auto *l1 = reinterpret_cast(a.end()); + | ^ +/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:53:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 53 | auto *f2 = reinterpret_cast(b.begin()); + | ^ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>, eve::algo::views::map_iterator>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>, eve::algo::views::map_iterator>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, eve::algo::views::map_iterator> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52965 warnings generated. +Suppressed 52468 warnings (52466 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 757/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log_abs.cpp +45950 warnings generated. +Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 758/1170][601.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/prime_ceil.cpp +55248 warnings generated. +Suppressed 55250 warnings (55248 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 759/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_greater.cpp +46330 warnings generated. +Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 760/1170][122.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sind.cpp +53995 warnings generated. +Suppressed 53997 warnings (53995 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 761/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/bit_value.cpp +51138 warnings generated. +Suppressed 51140 warnings (51138 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 762/1170][123.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_ornot.cpp +58007 warnings generated. +Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 763/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cot.cpp +46924 warnings generated. +Suppressed 46926 warnings (46924 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 764/1170][91.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp:25:18: warning: declaration uses identifier '_S', which is a reserved identifier [bugprone-reserved-identifier] + 25 | constexpr auto _S = eve::index_t(); + | ^~ + | S + 26 | constexpr auto _H = eve::index_t(); + 27 | TTS_EQUAL(swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return swap_pairs(e, _0, _S); }, a0)); + | ~~ ~~ ~~ + | S S S +/Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp:26:18: warning: declaration uses identifier '_H', which is a reserved identifier [bugprone-reserved-identifier] + 26 | constexpr auto _H = eve::index_t(); + | ^~ + | H + 27 | TTS_EQUAL(swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return swap_pairs(e, _0, _S); }, a0)); + 28 | TTS_EQUAL(swap_pairs(a0, _0, _H), tts::map([_0, _H](auto e) -> v_t { return swap_pairs(e, _0, _H); }, a0)); + | ~~ ~~ ~~ + | H H H +54567 warnings generated. +Suppressed 54567 warnings (54565 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 765/1170][68.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log_abs.cpp +53697 warnings generated. +Suppressed 53699 warnings (53697 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 766/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/loglog_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 767/1170][115.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_y0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +56194 warnings generated. +Suppressed 56189 warnings (56187 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 768/1170][8.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp:25:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 25 | std::array::size()> data; + | ^ + | {} +/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp:26:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 26 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; + | ^ +44988 warnings generated. +Suppressed 44986 warnings (44984 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 769/1170][41.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/broadcast_group.cpp +52096 warnings generated. +Suppressed 52098 warnings (52096 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 770/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_zip__using_zip_with_algorithms.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52657 warnings generated. +Suppressed 52190 warnings (52188 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 771/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lookup.cpp +45053 warnings generated. +Suppressed 45055 warnings (45053 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 772/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/hypot.cpp +45742 warnings generated. +Suppressed 45744 warnings (45742 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 773/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 774/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/radinpi.cpp +/Users/sadiinso/unsync/eve/test/doc/math/radinpi.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); + | ^ +45122 warnings generated. +Suppressed 45123 warnings (45121 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 775/1170][117.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_or.cpp +59587 warnings generated. +Suppressed 59589 warnings (59587 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 776/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2pi.cpp +45995 warnings generated. +Suppressed 45997 warnings (45995 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 777/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/copysign.cpp +45653 warnings generated. +Suppressed 45655 warnings (45653 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 778/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/prev.cpp +45983 warnings generated. +Suppressed 45985 warnings (45983 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 779/1170][111.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_odd.cpp +58373 warnings generated. +Suppressed 58375 warnings (58373 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 780/1170][121.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_positive.cpp +55503 warnings generated. +Suppressed 55505 warnings (55503 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 781/1170][43.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_, rbr::option>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, udt::point2D>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:69:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:81:24)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_, rbr::option>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:84:13: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 84 | std::array arr; + | ^ + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, std::__wrap_iter> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:26:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 26 | (std::all_of(v.begin(), v.end(), p)) + | ^~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::all_of v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:30:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 30 | (std::any_of(v.begin(), v.end(), p)) + | ^~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::any_of v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:34:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 34 | (std::none_of(v.begin(), v.end(), p)) + | ^~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::none_of v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:38:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 38 | (std::find_if(v.begin(), v.end(), p)) + | ^~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::find_if v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:42:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 42 | (std::find_if_not(v.begin(), v.end(), p)) + | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::find_if_not v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:46:6: warning: use a ranges version of this algorithm [modernize-use-ranges] + 46 | (std::find(v.begin(), v.end(), 1)) + | ^~~~~~~~~ ~~~~~~~~~ ~~~~~~~ + | std::ranges::find v +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' + 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' + 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' + 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' + 1132 | }(A,B) \ + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:53:3: warning: use auto when declaring iterators [hicpp-use-auto,modernize-use-auto] + 53 | std::vector::const_iterator found = eve::algo::find[eve::algo::no_aligning](v, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:56:3: warning: use auto when declaring iterators [hicpp-use-auto,modernize-use-auto] + 56 | std::vector::const_iterator found_b = eve::algo::find_last[eve::algo::no_aligning](v, 3); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | auto +58284 warnings generated. +Suppressed 57495 warnings (57493 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 782/1170][153.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/broadcast.cpp +57563 warnings generated. +Suppressed 57565 warnings (57563 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 783/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/lcm.cpp +/Users/sadiinso/unsync/eve/test/doc/combinatorial/lcm.cpp:5:59: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->float{ return (i-c/2);}); + | ^ +46171 warnings generated. +Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 784/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/mantissa.cpp +45717 warnings generated. +Suppressed 45719 warnings (45717 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 785/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_1.cpp +47526 warnings generated. +Suppressed 47528 warnings (47526 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 786/1170][74.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asinh.cpp +54052 warnings generated. +Suppressed 54054 warnings (54052 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 787/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negabsmax.cpp +46324 warnings generated. +Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 788/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/roundscale.cpp +45816 warnings generated. +Suppressed 45818 warnings (45816 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 789/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sum_of_prod.cpp +55826 warnings generated. +Suppressed 55828 warnings (55826 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 790/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_lessgreater.cpp +46242 warnings generated. +Suppressed 46244 warnings (46242 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 791/1170][354.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rem.cpp +60499 warnings generated. +Suppressed 60501 warnings (60499 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 792/1170][94.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cscd.cpp +54652 warnings generated. +Suppressed 54654 warnings (54652 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 793/1170][37.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/glaisher.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 794/1170][110.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/beta.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +56504 warnings generated. +Suppressed 56499 warnings (56497 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 795/1170][57.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/mantissa.cpp +52596 warnings generated. +Suppressed 52598 warnings (52596 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 796/1170][15.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/absmin.cpp +46200 warnings generated. +Suppressed 46202 warnings (46200 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 797/1170][9.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp:19:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 19 | std::array::size()-1> data; + | ^ + | {} +/Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp:20:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 20 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; + | ^ +44996 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 798/1170][38.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_sqrt_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 799/1170][107.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ngtz.cpp +58151 warnings generated. +Suppressed 58153 warnings (58151 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 800/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp:60:35: warning: 'r' used after it was forwarded [bugprone-use-after-move,hicpp-invalid-access-moved] + 60 | auto cf = eve::views::convert(r.begin(), tgt); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp:46:47: note: forward occurred here + 46 | eve::algo::relaxed_range auto converted = eve::views::convert(std::forward(r), tgt); + | ^ +53084 warnings generated. +Suppressed 52532 warnings (52530 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 801/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/signgam.cpp +45782 warnings generated. +Suppressed 45784 warnings (45782 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 802/1170][181.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int32.cpp +53664 warnings generated. +Suppressed 53666 warnings (53664 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 803/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqmz.cpp +45862 warnings generated. +Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 804/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/element_type.cpp +51168 warnings generated. +Suppressed 51170 warnings (51168 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 805/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/inf.cpp +44963 warnings generated. +Suppressed 44965 warnings (44963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 806/1170][107.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nltz.cpp +58109 warnings generated. +Suppressed 58111 warnings (58109 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 807/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_2pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 808/1170][113.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_and.cpp +59021 warnings generated. +Suppressed 59023 warnings (59021 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 809/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +47279 warnings generated. +Suppressed 47273 warnings (47271 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 810/1170][754.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/decorated.rem.cpp +66402 warnings generated. +Suppressed 66404 warnings (66402 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 811/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_swap_adjacent.cpp +45439 warnings generated. +Suppressed 45441 warnings (45439 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 812/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/bernouilli.cpp +45974 warnings generated. +Suppressed 45976 warnings (45974 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 813/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int16.cpp +53306 warnings generated. +Suppressed 53308 warnings (53306 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 814/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinhc.cpp +46457 warnings generated. +Suppressed 46459 warnings (46457 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 815/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int8.cpp +53392 warnings generated. +Suppressed 53394 warnings (53392 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 816/1170][60.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acotd.cpp +53373 warnings generated. +Suppressed 53375 warnings (53373 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 817/1170][38.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_phi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 818/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/gamma_p.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +47182 warnings generated. +Suppressed 47181 warnings (47179 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 819/1170][126.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_j1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +56555 warnings generated. +Suppressed 56550 warnings (56548 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 820/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ternary.cpp +45127 warnings generated. +Suppressed 45129 warnings (45127 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 821/1170][24.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:21:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 21 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:22:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 22 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:32:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 32 | eve::wide lhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:33:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 33 | eve::wide rhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:46:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 46 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:47:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 47 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:57:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 57 | eve::wide lhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:58:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 58 | eve::wide rhs = [](int i, int) { return udt::label_position{i/2.3f, std::uint8_t('A'+i)}; }; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:71:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 71 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:72:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 72 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; + | ^~~~~~~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:96:38: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 96 | return udt::label_position{i%2 ? i : 1.5f, std::uint8_t('A'+i%2)}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:101:45: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 101 | return udt::label_position{i%3 ? 2.3f : i, std::uint8_t('A'+i%3)}; + | ^ +51467 warnings generated. +Suppressed 51439 warnings (51437 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 822/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp2.cpp +46196 warnings generated. +Suppressed 46198 warnings (46196 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 823/1170][159.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_less_equal.cpp +59726 warnings generated. +Suppressed 59728 warnings (59726 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 824/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/swap_if.cpp +45019 warnings generated. +Suppressed 45021 warnings (45019 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 825/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nez.cpp +46170 warnings generated. +Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 826/1170][119.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp.cpp +54673 warnings generated. +Suppressed 54675 warnings (54673 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 827/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/load/tuple.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +54374 warnings generated. +Suppressed 54339 warnings (54337 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 828/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp10.cpp +45989 warnings generated. +Suppressed 45991 warnings (45989 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 829/1170][105.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfc.cpp +54984 warnings generated. +Suppressed 54986 warnings (54984 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 830/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/aligned_allocator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +51443 warnings generated. +Suppressed 51405 warnings (51403 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 831/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/oneminus.cpp +47033 warnings generated. +Suppressed 47035 warnings (47033 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 832/1170][108.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/zip.cpp +53688 warnings generated. +Suppressed 53690 warnings (53688 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 833/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countl_zero.cpp +45363 warnings generated. +Suppressed 45365 warnings (45363 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 834/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/smallestposval.cpp +44993 warnings generated. +Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 835/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cospi.cpp +46253 warnings generated. +Suppressed 46255 warnings (46253 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 836/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/oop/complex_numbers__declaring_an_object_type.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, cmplx>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, cmplx>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, cmplx>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, cmplx>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, cmplx>, eve::algo::views::converting_iterator, cmplx>> &, cmplx>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, cmplx>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:998:55: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] + 998 | else return l == r; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1060:50: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] + 1060 | else if(scimode) os << std::scientific << e << std::defaultfloat; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1061:13: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] + 1061 | os << e; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +54874 warnings generated. +Suppressed 54180 warnings (54178 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 837/1170][30.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/erase_remove.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::point2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::point2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::point2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::point2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, udt::line2D>, eve::algo::views::converting_iterator, udt::line2D>> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, udt::point2D>, eve::algo::views::converting_iterator, udt::point2D>> &, udt::point2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::point2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +57631 warnings generated. +Suppressed 56743 warnings (56741 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 838/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asecd.cpp +46279 warnings generated. +Suppressed 46281 warnings (46279 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 839/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_nan.cpp +46168 warnings generated. +Suppressed 46170 warnings (46168 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 840/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +46756 warnings generated. +Suppressed 46750 warnings (46748 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 841/1170][113.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_finite.cpp +57225 warnings generated. +Suppressed 57227 warnings (57225 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 842/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/signnz.cpp +46119 warnings generated. +Suppressed 46121 warnings (46119 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 843/1170][51.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/firstbitunset.cpp +53996 warnings generated. +Suppressed 53998 warnings (53996 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 844/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/find.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/find.cpp:18:42)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52009 warnings generated. +Suppressed 51549 warnings (51547 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 845/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lfactorial.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/special/lfactorial.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); + | ^ +47478 warnings generated. +Suppressed 47476 warnings (47474 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 846/1170][21.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/horn.cpp +51588 warnings generated. +Suppressed 51590 warnings (51588 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 847/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/minf.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 848/1170][32.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/max_value_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 64 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 70 | *it = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 72 | *it = filler; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 78 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 79 | if( l != page_end ) *l = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +54967 warnings generated. +Suppressed 53972 warnings (53970 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 849/1170][22.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/linspace.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 38 | value_type base; + | + | {} + 39 | value_type step; + | + | {} + 40 | std::ptrdiff_t i; + | + | {} + 41 | wv_type wide_cur; + 42 | + 43 | iota_with_step_iterator() = default; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52767 warnings generated. +Suppressed 52274 warnings (52272 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 850/1170][391.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sort.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/sort.cpp:21:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 21 | eve::stack_buffer buf; + | ^ + | {} +68752 warnings generated. +Suppressed 68668 warnings (68666 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 851/1170][38.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_2pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 852/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sign_alternate.cpp +46139 warnings generated. +Suppressed 46141 warnings (46139 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 853/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_flint.cpp +46328 warnings generated. +Suppressed 46330 warnings (46328 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 854/1170][20.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-02.cpp +/Users/sadiinso/unsync/eve/examples/tutorial/intro-02.cpp:43:5: warning: use a ranges version of this algorithm [modernize-use-ranges] + 8 | std::transform( xs.begin(), xs.end(), ys.begin(), out.begin() + | ^~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ + | std::ranges::transform xs +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +53947 warnings generated. +Suppressed 53422 warnings (53420 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 855/1170][518.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:22:5: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 22 | eve::stack_buffer buf; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:39:5: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 39 | eve::stack_buffer buf; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:61:3: warning: uninitialized record type: 'buf1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 61 | eve::stack_buffer buf1; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:63:3: warning: uninitialized record type: 'buf2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 63 | eve::stack_buffer buf2; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:65:3: warning: uninitialized record type: 'buf3' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 65 | eve::stack_buffer buf3; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:67:3: warning: uninitialized record type: 'buf4' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 67 | eve::stack_buffer buf4; + | ^ + | {} +60539 warnings generated. +Suppressed 59849 warnings (59847 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 856/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_object_from.cpp +45022 warnings generated. +Suppressed 45024 warnings (45022 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 857/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sec.cpp +47210 warnings generated. +Suppressed 47212 warnings (47210 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 858/1170][82.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sindcosd.cpp +54805 warnings generated. +Suppressed 54807 warnings (54805 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 859/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nltz.cpp +46205 warnings generated. +Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 860/1170][134.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/trunc.cpp +55898 warnings generated. +Suppressed 55900 warnings (55898 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 861/1170][89.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cosh.cpp +54325 warnings generated. +Suppressed 54327 warnings (54325 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 862/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/factorial.cpp +/Users/sadiinso/unsync/eve/test/doc/special/factorial.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); + | ^ +45726 warnings generated. +Suppressed 45727 warnings (45725 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 863/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mask.cpp +45267 warnings generated. +Suppressed 45269 warnings (45267 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 864/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fms.cpp +48073 warnings generated. +Suppressed 48075 warnings (48073 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 865/1170][32.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_value_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 44 | *(l - 1) = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 49 | *it = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 51 | *it = filler; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 78 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 79 | if( l != page_end ) *l = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +54967 warnings generated. +Suppressed 53972 warnings (53970 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 866/1170][25.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/fill_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, double *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, int *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, short *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, unsigned char *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, unsigned short *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53666 warnings generated. +Suppressed 53022 warnings (53020 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 867/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/three_fma.cpp +45584 warnings generated. +Suppressed 45586 warnings (45584 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 868/1170][35.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/identity.cpp +52205 warnings generated. +Suppressed 52207 warnings (52205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 869/1170][28.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_r2_small_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54307 warnings generated. +Suppressed 53631 warnings (53629 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 870/1170][24.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqpz.cpp +52372 warnings generated. +Suppressed 52374 warnings (52372 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 871/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/saturate.cpp +45200 warnings generated. +Suppressed 45202 warnings (45200 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 872/1170][219.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 166 | bool main_check(unaligned_t haystack_i) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 187 | bool small_check(wide_value_type_t haystack) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:18:5: warning: uninitialized record type: 'fake' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 18 | std::array fake; + | ^ + | {} +55948 warnings generated. +Suppressed 54441 warnings (54439 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 873/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/blend.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51163 warnings generated. +Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 874/1170][74.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/coth.cpp +53520 warnings generated. +Suppressed 53522 warnings (53520 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 875/1170][8.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/doc_pch.dir/cmake_pch.hxx.cxx +47766 warnings generated. +Suppressed 47768 warnings (47766 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 876/1170][32.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/newton.cpp +54631 warnings generated. +Suppressed 54633 warnings (54631 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 877/1170][36.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/quarter.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 878/1170][18.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/max.hpp:105:14), kumi::tuple, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/min.hpp:110:14), kumi::tuple, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53278 warnings generated. +Suppressed 52817 warnings (52815 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 879/1170][40.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/copysign.cpp +52601 warnings generated. +Suppressed 52603 warnings (52601 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 880/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cscpi.cpp +46414 warnings generated. +Suppressed 46416 warnings (46414 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 881/1170][81.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_reverse.cpp +55908 warnings generated. +Suppressed 55910 warnings (55908 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 882/1170][78.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acsc.cpp +53332 warnings generated. +Suppressed 53334 warnings (53332 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 883/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/fundamental_cardinal.cpp +51102 warnings generated. +Suppressed 51104 warnings (51102 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 884/1170][35.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reverse_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<2>>>, eve::algo::views::reverse_iterator>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>>, eve::algo::views::reverse_iterator>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<16>>>, eve::algo::views::reverse_iterator>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +56284 warnings generated. +Suppressed 55207 warnings (55205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 885/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rshl.cpp +45277 warnings generated. +Suppressed 45279 warnings (45277 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 886/1170][34.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_generic_one_pass.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 44 | *(l - 1) = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 49 | *it = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 51 | *it = filler; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 78 | *f = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] + 79 | if( l != page_end ) *l = looking_for; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] +56908 warnings generated. +Suppressed 55671 warnings (55669 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 887/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/significants.cpp +54767 warnings generated. +Suppressed 54769 warnings (54767 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 888/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46957 warnings generated. +Suppressed 46554 warnings (46552 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 889/1170][149.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bitofsign.cpp +56292 warnings generated. +Suppressed 56294 warnings (56292 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 890/1170][128.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/rising_factorial.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +57682 warnings generated. +Suppressed 57677 warnings (57675 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 891/1170][45.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp:49:3: warning: uninitialized record type: 'expected' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 49 | std::array expected; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp:52:3: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 52 | std::array actual; + | ^ + | {} +53625 warnings generated. +Suppressed 53131 warnings (53129 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 892/1170][425.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fsnm.cpp +72244 warnings generated. +Suppressed 72246 warnings (72244 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 893/1170][100.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erf.cpp +55226 warnings generated. +Suppressed 55228 warnings (55226 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 894/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rem.cpp +45950 warnings generated. +Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 895/1170][145.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_less_equal.cpp +59399 warnings generated. +Suppressed 59401 warnings (59399 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 896/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_not.cpp +46065 warnings generated. +Suppressed 46067 warnings (46065 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 897/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cscd.cpp +46515 warnings generated. +Suppressed 46517 warnings (46515 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 898/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cbrt.cpp +46036 warnings generated. +Suppressed 46038 warnings (46036 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 899/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/valmin.cpp +44991 warnings generated. +Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 900/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotl.cpp +45380 warnings generated. +Suppressed 45382 warnings (45380 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 901/1170][127.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/floor.cpp +55476 warnings generated. +Suppressed 55478 warnings (55476 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 902/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_greater_equal.cpp +46330 warnings generated. +Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 903/1170][60.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_select.cpp +54936 warnings generated. +Suppressed 54938 warnings (54936 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 904/1170][33.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:125:3), eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:24:15), kumi::tuple, eve::wide, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:101:12), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:107:12), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:115:9), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:142:3), (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:142:3), eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:90:10), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54709 warnings generated. +Suppressed 54228 warnings (54226 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 905/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_egamma.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 906/1170][131.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2.cpp +54267 warnings generated. +Suppressed 54269 warnings (54267 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 907/1170][52.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog.cpp +54568 warnings generated. +Suppressed 54570 warnings (54568 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 908/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tanh.cpp +46165 warnings generated. +Suppressed 46167 warnings (46165 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 909/1170][73.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atanh.cpp +53750 warnings generated. +Suppressed 53752 warnings (53750 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 910/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinc.cpp +46958 warnings generated. +Suppressed 46960 warnings (46958 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 911/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_gez.cpp +46170 warnings generated. +Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 912/1170][21.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/optimize_pattern.cpp +54806 warnings generated. +Suppressed 54808 warnings (54806 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 913/1170][52.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog10.cpp +55005 warnings generated. +Suppressed 55007 warnings (55005 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 914/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nextafter.cpp +46677 warnings generated. +Suppressed 46679 warnings (46677 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 915/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_select.cpp +45064 warnings generated. +Suppressed 45066 warnings (45064 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 916/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 917/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/limitexponent.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 918/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/average.cpp +47440 warnings generated. +Suppressed 47442 warnings (47440 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 919/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/geommean.cpp +46721 warnings generated. +Suppressed 46723 warnings (46721 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 920/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/rising_factorial.cpp +47138 warnings generated. +Suppressed 47140 warnings (47138 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 921/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress.cpp +/Users/sadiinso/unsync/eve/test/doc/core/compress/compress.cpp:86:15: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'value_type' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 86 | in[i] = i; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +50948 warnings generated. +Suppressed 50883 warnings (50881 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 922/1170][42.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog10_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 923/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acosh.cpp +45699 warnings generated. +Suppressed 45701 warnings (45699 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 924/1170][36.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/zero.cpp +52237 warnings generated. +Suppressed 52239 warnings (52237 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 925/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_andnot.cpp +45887 warnings generated. +Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 926/1170][19.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy_if.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52592 warnings generated. +Suppressed 52130 warnings (52128 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 927/1170][44.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi.cpp +52963 warnings generated. +Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 928/1170][8.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp +/Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp:6:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 6 | float data[2*eve::wide::size()] = {}; + | ^ +/Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp:11:24: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] + 11 | eve::scatter(values, data, indexes); + | ^ +44967 warnings generated. +Suppressed 44964 warnings (44962 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 929/1170][833.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_driver_intergration.cpp +68099 warnings generated. +Suppressed 68101 warnings (68099 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 930/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/nofs.cpp +51123 warnings generated. +Suppressed 51125 warnings (51123 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 931/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/supports_bmi.cpp +51098 warnings generated. +Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 932/1170][128.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cosd.cpp +54907 warnings generated. +Suppressed 54909 warnings (54907 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 933/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpicospi.cpp +54576 warnings generated. +Suppressed 54578 warnings (54576 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 934/1170][87.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/tchebytchev.cpp +/Users/sadiinso/unsync/eve/test/unit/module/polynomial/tchebytchev.cpp:54:8: warning: declaration uses identifier 'eve__tchebytchev', which is a reserved identifier [bugprone-reserved-identifier] + 54 | auto eve__tchebytchev = [](uint32_t n, auto x) { return eve::tchebytchev(n, x); }; + | ^~~~~~~~~~~~~~~~ + | eve_tchebytchev + 55 | for( unsigned int n = 0; n < 6; ++n ) + 56 | { + 57 | auto boost_tchebytchev = [&](auto e, auto i) + 58 | { return boost::math::chebyshev_t((unsigned int)i, e); }; + 59 | TTS_ULP_EQUAL(eve__tchebytchev(n, a0), tts::map(boost_tchebytchev, a0, n), 320); + | ~~~~~~~~~~~~~~~~ + | eve_tchebytchev + 60 | TTS_ULP_EQUAL(eve__tchebytchev(n, a1), tts::map(boost_tchebytchev, a1, n), 320); + | ~~~~~~~~~~~~~~~~ + | eve_tchebytchev +59960 warnings generated. +Suppressed 59961 warnings (59959 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 935/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/max_scalar_size.cpp +/Users/sadiinso/unsync/eve/test/unit/meta/traits/max_scalar_size.cpp:24:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 24 | not_literal(int n) : kumi::tuple{6.98,n} {} + | ^ + | explicit +51194 warnings generated. +Suppressed 51195 warnings (51193 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 936/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log1p.cpp +45917 warnings generated. +Suppressed 45919 warnings (45917 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 937/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow_abs.cpp +46520 warnings generated. +Suppressed 46522 warnings (46520 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 938/1170][102.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/signnz.cpp +57976 warnings generated. +Suppressed 57978 warnings (57976 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 939/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fdim.cpp +46206 warnings generated. +Suppressed 46208 warnings (46206 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 940/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/count_true.cpp +45265 warnings generated. +Suppressed 45267 warnings (45265 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 941/1170][96.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/gd.cpp +54062 warnings generated. +Suppressed 54064 warnings (54062 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 942/1170][537.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/prime_floor.cpp +55178 warnings generated. +Suppressed 55180 warnings (55178 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 943/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sixth.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 944/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j0.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +47181 warnings generated. +Suppressed 47175 warnings (47173 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 945/1170][65.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/laguerre.cpp +/Users/sadiinso/unsync/eve/test/unit/module/polynomial/laguerre.cpp:50:8: warning: declaration uses identifier 'eve__laguerrev', which is a reserved identifier [bugprone-reserved-identifier] + 50 | auto eve__laguerrev = [](auto n, auto x) { return eve::laguerre(n, x); }; + | ^~~~~~~~~~~~~~ + | eve_laguerrev + 51 | for( unsigned int n = 0; n < 5; ++n ) + 52 | { + 53 | auto std_laguerre = [&](auto i, auto) { return NAMESPACE::laguerre(n, a0.get(i)); }; + 54 | TTS_ULP_EQUAL(eve__laguerrev(n, a0), T(std_laguerre), 8192); + | ~~~~~~~~~~~~~~ + | eve_laguerrev + 55 | } + 56 | auto std_laguerrev = [&](auto i, auto) { return NAMESPACE::laguerre(i0.get(i), a0.get(i)); }; + 57 | TTS_RELATIVE_EQUAL(eve__laguerrev(i0, a0), T(std_laguerrev), 0.01); + | ~~~~~~~~~~~~~~ + | eve_laguerrev + 58 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) + 59 | { + 60 | auto std_laguerre2 = [&](auto i, auto) + 61 | { return NAMESPACE::laguerre(i0.get(i), a0.get(j)); }; + 62 | TTS_RELATIVE_EQUAL(eve__laguerrev(i0, a0.get(j)), T(std_laguerre2), 0.01); + | ~~~~~~~~~~~~~~ + | eve_laguerrev +55445 warnings generated. +Suppressed 55446 warnings (55444 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 946/1170][35.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/of_class.cpp +52616 warnings generated. +Suppressed 52618 warnings (52616 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 947/1170][418.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fms.cpp +74606 warnings generated. +Suppressed 74608 warnings (74606 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 948/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/tgamma.cpp +47025 warnings generated. +Suppressed 47027 warnings (47025 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 949/1170][26.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqmz.cpp +52448 warnings generated. +Suppressed 52450 warnings (52448 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 950/1170][84.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acosh.cpp +53788 warnings generated. +Suppressed 53790 warnings (53788 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 951/1170][17.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:111:42: warning: uninitialized record type: 'c' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 111 | alignas(sizeof(std::int8_t) * N{}()) std::array c; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:112:42: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 112 | alignas(sizeof(std::uint32_t) * N{}()) std::array i; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:200:3: warning: uninitialized record type: 'c' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 200 | std::array c; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:201:3: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 201 | std::array i; + | ^ + | {} +54043 warnings generated. +Suppressed 53467 warnings (53465 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 952/1170][97.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rg.cpp +58580 warnings generated. +Suppressed 58582 warnings (58580 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 953/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/bitincrement.cpp +44992 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 954/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_not.cpp +45202 warnings generated. +Suppressed 45204 warnings (45202 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 955/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/equal.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52279 warnings generated. +Suppressed 51815 warnings (51813 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 956/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sum_of_prod.cpp +45467 warnings generated. +Suppressed 45469 warnings (45467 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 957/1170][27.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_fwd.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53998 warnings generated. +Suppressed 53472 warnings (53470 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 958/1170][17.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sort.cpp +47532 warnings generated. +Suppressed 47534 warnings (47532 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 959/1170][41.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:75:41: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 75 | eve::wide vp{ udt::grid2d{+6,-9} }; + | ^~~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:94:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 94 | eve::wide vp = [](int i, int c) { return udt::grid2d{i,c-i-1}; }; + | ^~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:101:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 101 | return udt::label_position{1.f/(1+i),std::uint8_t('A'+i)}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:120:57: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 120 | return eve::wide( udt::grid2d{N,sz-N-1}...); + | ^~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:147:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 147 | int data[eve::wide::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:204:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 204 | eve::wide vp = [](int i, int c) { return udt::grid2d{ i, c -i-1}; }; + | ^~~~~~~~~~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:205:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 205 | eve::wide vl = [](int i, int c) { return udt::grid2d{ i, c+s-i-1}; }; + | ^~~~~~~~~~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:206:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 206 | eve::wide vh = [](int i, int ) { return udt::grid2d{s+i, s-i-1}; }; + | ^~~~~~~~~~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:231:51: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 231 | w_t vp = [](int i, int c) { return udt::grid2d{ i, c -i-1}; }; + | ^~~~~~~~~~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:247:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 247 | eve::wide vp = [](int i, int c) { return udt::grid2d{ i, c-i-1}; }; + | ^~~~~~~~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +51948 warnings generated. +Suppressed 51935 warnings (51933 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 960/1170][163.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_greater_equal.cpp +59724 warnings generated. +Suppressed 59726 warnings (59724 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 961/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/test_pch.cpp +51097 warnings generated. +Suppressed 51099 warnings (51097 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 962/1170][18.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp:71:15: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 71 | alignas(64) std::array buf; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp:82:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 82 | return std::string(buf.data()); + | ^~~~~~~~~~~~ ~ + | { } +52323 warnings generated. +Suppressed 51939 warnings (51937 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 963/1170][161.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_wide_diff_logicals.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:24:3: warning: uninitialized record type: 'x' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 24 | eve::stack_buffer x; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:32:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 32 | std::array, T::size()> r; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:47:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 47 | std::array, T::size()> r; + | ^ + | {} +64402 warnings generated. +Suppressed 59244 warnings (59242 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 964/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); + | ^ +47157 warnings generated. +Suppressed 47151 warnings (47149 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 965/1170][48.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/hi.cpp +53915 warnings generated. +Suppressed 53917 warnings (53915 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 966/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fam.cpp +48010 warnings generated. +Suppressed 48012 warnings (48010 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 967/1170][106.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sec.cpp +55829 warnings generated. +Suppressed 55831 warnings (55829 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 968/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/max.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/doc/algo/max.cpp:15:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 15 | << *eve::algo::max_value(v) << "\n"; + | ^ +/Users/sadiinso/unsync/eve/test/doc/algo/max.cpp:21:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 21 | << *eve::algo::max_value(v, eve::is_greater) << "\n"; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52416 warnings generated. +Suppressed 51935 warnings (51933 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 969/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/digamma.cpp +46757 warnings generated. +Suppressed 46759 warnings (46757 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 970/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_and.cpp +45218 warnings generated. +Suppressed 45220 warnings (45218 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 971/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/swap_pairs.cpp +45413 warnings generated. +Suppressed 45415 warnings (45413 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 972/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acscpi.cpp +45577 warnings generated. +Suppressed 45579 warnings (45577 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 973/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_flip.cpp +45193 warnings generated. +Suppressed 45195 warnings (45193 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 974/1170][163.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_greater.cpp +59719 warnings generated. +Suppressed 59721 warnings (59719 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 975/1170][21.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/combining_zip_map_and_algos.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::range_ref_wrapper>>, (lambda at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/combining_zip_map_and_algos.cpp:27:39), eve::algo::nothing_t> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 289 | constant(F f) : F(f) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 386 | as_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 399 | as_signed_integer(G g) : generator_(g) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 466 | int main(int argc, char const **argv) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' + 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) + | ^ + | inline +/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' + 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +55264 warnings generated. +Suppressed 54679 warnings (54677 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 976/1170][125.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/betainc_inv.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +58047 warnings generated. +Suppressed 58042 warnings (58040 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 977/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nan.cpp +52360 warnings generated. +Suppressed 52362 warnings (52360 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 978/1170][16.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lentz_b.cpp +/Users/sadiinso/unsync/eve/test/doc/math/lentz_b.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 15 | tan_fraction(T v) : a(-v * v), b(-1) {} + | ^ + | explicit +46510 warnings generated. +Suppressed 46511 warnings (46509 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 979/1170][93.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/secpi.cpp +54492 warnings generated. +Suppressed 54494 warnings (54492 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 980/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward.cpp:93:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 93 | std::array> a; + | ^ + | {} +52535 warnings generated. +Suppressed 52102 warnings (52100 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 981/1170][114.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward_eve_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward_eve_iterator.cpp:30:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 30 | alignas(sizeof(T)) std::array, T::size()> data; + | ^ + | {} +54230 warnings generated. +Suppressed 53483 warnings (53481 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 982/1170][66.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] + 172 | Allocator get_allocator() const { return data_.get_deleter(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, kumi::tuple, double>>, eve::algo::views::converting_iterator, kumi::tuple, double>>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, udt::grid2d>, eve::algo::views::converting_iterator, udt::grid2d>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, eve::algo::views::zip_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, double>> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, kumi::tuple, double>>, eve::algo::views::converting_iterator, kumi::tuple, double>>> &, kumi::tuple, double>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, udt::grid2d>, eve::algo::views::converting_iterator, udt::grid2d>> &, udt::grid2d>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>>, eve::algo::views::zip_iterator> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, double>>> &, kumi::tuple, double>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::grid2d>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:82:70: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 82 | eve::algo::soa_vector udt_vector ( 71, udt::grid2d{4,19} ); + | ^~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:100:39: warning: local copy 'tuple_copy' of the variable 'tuple_original' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] + 100 | , tuple_copy(tuple_original); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:103:39: warning: local copy 'nested_copy' of the variable 'nested_original' is never modified and never used; consider removing the statement [performance-unnecessary-copy-initialization] + 103 | , nested_copy(nested_original); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:105:70: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 105 | eve::algo::soa_vector udt_original ( 71, udt::grid2d{4,19} ) + | ^~~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:106:39: warning: local copy 'udt_copy' of the variable 'udt_original' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] + 106 | , udt_copy(udt_original); + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:129:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 129 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:130:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 130 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:131:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 131 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:162:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 162 | eve::algo::soa_vector uv = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:163:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 163 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:164:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 164 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:192:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 192 | eve::algo::soa_vector uv = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:193:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 193 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:194:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 194 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:228:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 228 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:229:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 229 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:230:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 230 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:351:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 351 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:352:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 352 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:353:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 353 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:435:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 435 | eve::algo::soa_vector uv1 = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:436:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 436 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:437:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 437 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:492:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 492 | eve::algo::soa_vector uvref = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:493:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 493 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:494:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 494 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:516:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 516 | uv.push_back( udt::grid2d{1,2} ); + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:517:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 517 | uv.push_back( udt::grid2d{3,4} ); + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:518:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 518 | uv.push_back( udt::grid2d{5,8} ); + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:537:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 537 | eve::algo::soa_vector uv = { udt::grid2d{1,2} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:538:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 538 | , udt::grid2d{3,4} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:539:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 539 | , udt::grid2d{5,8} + | ^~~~~ + | .x= .y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:54: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:604:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 604 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:604:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 604 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:605:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 605 | udt::grid2d{2, 2}, udt::grid2d{3, 3}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:605:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 605 | udt::grid2d{2, 2}, udt::grid2d{3, 3}, + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:631:33: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 631 | grids expected { udt::grid2d{0, 0}, udt::grid2d{1, 1} }; + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:631:52: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 631 | grids expected { udt::grid2d{0, 0}, udt::grid2d{1, 1} }; + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:638:26: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 638 | v.push_back(udt::grid2d{2, 2}); + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:642:33: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 642 | grids expected { udt::grid2d{0, 0}, udt::grid2d{2, 2} }; + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:642:52: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] + 642 | grids expected { udt::grid2d{0, 0}, udt::grid2d{2, 2} }; + | ^~~~~~ + | .x=.y= +/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here + 19 | struct grid2d + | ^ +62370 warnings generated. +Suppressed 60597 warnings (60595 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 983/1170][28.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_inplace_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53716 warnings generated. +Suppressed 53112 warnings (53110 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 984/1170][221.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp:32:38: warning: either cast from 'int' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] + 32 | else return v_t(i + Shift) < 6; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp:32:38: warning: either cast from 'int' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +56521 warnings generated. +Suppressed 56509 warnings (56507 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 985/1170][10.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/signmask.cpp +44992 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 986/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_or.cpp +45222 warnings generated. +Suppressed 45224 warnings (45222 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 987/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2d.cpp +45994 warnings generated. +Suppressed 45996 warnings (45994 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 988/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/quadrant.cpp +/Users/sadiinso/unsync/eve/test/doc/math/quadrant.cpp:5:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); + | ^ +45125 warnings generated. +Suppressed 45126 warnings (45124 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 989/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sqr.cpp +46310 warnings generated. +Suppressed 46312 warnings (46310 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 990/1170][102.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/agm.cpp +54820 warnings generated. +Suppressed 54822 warnings (54820 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 991/1170][118.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/nearest.cpp +56565 warnings generated. +Suppressed 56567 warnings (56565 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 992/1170][299.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/average.cpp +64202 warnings generated. +Suppressed 64204 warnings (64202 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 993/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/reverse_in_subgroups.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51115 warnings generated. +Suppressed 51052 warnings (51050 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 994/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/swap_ranges.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46348 warnings generated. +Suppressed 45950 warnings (45948 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 995/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sub.cpp +47374 warnings generated. +Suppressed 47376 warnings (47374 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 996/1170][45.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_3.cpp +52966 warnings generated. +Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 997/1170][76.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rj.cpp +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 29 | auto next_interval(F const & f, L notdone, L1 test, R& r, Ts ... ts) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 48 | auto last_interval(F const & f, L todo, R& r, Ts ... ts) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] + 98 | constexpr auto ellint_rj_(EVE_REQUIRES(cpu_), O const&, T x, T y, T z, T p) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 225 | auto br_pneg = [](auto xx, auto yy, auto zz, auto pp) // pp < 0 + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] + 259 | auto br_last = [](auto px, auto py, auto pz, auto pp) { return ellint_rj[raw](px, py, pz, pp); }; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: + 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 40 | r = if_else(todo, f(ts...), r); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: + 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 40 | r = if_else(todo, f(ts...), r); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' + 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: + 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: + 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); + | ^ +/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 40 | r = if_else(todo, f(ts...), r); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: + 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles +60161 warnings generated. +Suppressed 60100 warnings (60098 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 998/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/any_of.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/any_of.cpp:16:55)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52001 warnings generated. +Suppressed 51548 warnings (51546 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[ 999/1170][92.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint64.cpp +53333 warnings generated. +Suppressed 53335 warnings (53333 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1000/1170][37.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_2pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1001/1170][137.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minus.cpp +57358 warnings generated. +Suppressed 57360 warnings (57358 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1002/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_denormal.cpp +45862 warnings generated. +Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1003/1170][74.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/roundscale.cpp +54550 warnings generated. +Suppressed 54552 warnings (54550 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1004/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxflint.cpp +45240 warnings generated. +Suppressed 45242 warnings (45240 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1005/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_equal.cpp +46400 warnings generated. +Suppressed 46402 warnings (46400 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1006/1170][39.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/preprocess_range.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/preprocess_range.cpp:164:22: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 164 | alignas(sizeof(T)) std::array arr; + | ^ + | {} +53985 warnings generated. +Suppressed 53160 warnings (53158 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1007/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/add.cpp +46959 warnings generated. +Suppressed 46961 warnings (46959 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1008/1170][92.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rd.cpp +58749 warnings generated. +Suppressed 58751 warnings (58749 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1009/1170][116.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erf_inv.cpp +64652 warnings generated. +Suppressed 64654 warnings (64652 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1010/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ordered.cpp +46209 warnings generated. +Suppressed 46211 warnings (46209 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1011/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ceil.cpp +46614 warnings generated. +Suppressed 46616 warnings (46614 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1012/1170][34.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/horner.cpp +52383 warnings generated. +Suppressed 52385 warnings (52383 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1013/1170][32.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/radinpi.cpp +52141 warnings generated. +Suppressed 52143 warnings (52141 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1014/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/khinchin.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1015/1170][150.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow_abs.cpp +55854 warnings generated. +Suppressed 55856 warnings (55854 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1016/1170][73.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/rotate.cpp +52565 warnings generated. +Suppressed 52567 warnings (52565 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1017/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acscd.cpp +45576 warnings generated. +Suppressed 45578 warnings (45576 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1018/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cos.cpp +47037 warnings generated. +Suppressed 47039 warnings (47037 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1019/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_in.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_in.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +47790 warnings generated. +Suppressed 47784 warnings (47782 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1020/1170][26.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_unit.cpp +52420 warnings generated. +Suppressed 52422 warnings (52420 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1021/1170][98.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_y1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +57221 warnings generated. +Suppressed 57216 warnings (57214 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1022/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_infinite.cpp +46173 warnings generated. +Suppressed 46175 warnings (46173 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1023/1170][50.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ilogb.cpp +52976 warnings generated. +Suppressed 52978 warnings (52976 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1024/1170][102.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cot.cpp +55488 warnings generated. +Suppressed 55490 warnings (55488 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1025/1170][31.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_copy_if_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 94 | Test test) + | ^ + | const & +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +54497 warnings generated. +Suppressed 53897 warnings (53895 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1026/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_greater_equal.cpp +46360 warnings generated. +Suppressed 46362 warnings (46360 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1027/1170][133.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/count_true.cpp +52488 warnings generated. +Suppressed 52490 warnings (52488 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1028/1170][109.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:192:31: warning: uninitialized record type: 'data_1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 192 | alignas(sizeof(t1) * N{}()) std::array data_1; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:193:31: warning: uninitialized record type: 'data_2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 193 | alignas(sizeof(t2) * N{}()) std::array data_2; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:194:31: warning: uninitialized record type: 'data_3' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 194 | alignas(sizeof(t3) * N{}()) std::array data_3; + | ^ + | {} +60011 warnings generated. +Suppressed 59382 warnings (59380 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1029/1170][119.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_logical.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +55401 warnings generated. +Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1030/1170][29.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/inclusive_scan_inplace_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +53896 warnings generated. +Suppressed 53361 warnings (53359 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1031/1170][126.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lookup.cpp +57785 warnings generated. +Suppressed 57787 warnings (57785 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1032/1170][54.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/compress_mask_num.cpp +/Users/sadiinso/unsync/eve/test/unit/internals/compress_mask_num.cpp:130:3: warning: uninitialized record type: 'test_cases' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 130 | std::array test_cases; + | ^ + | {} +53142 warnings generated. +Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1033/1170][230.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/reduce.cpp +59682 warnings generated. +Suppressed 59684 warnings (59682 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1034/1170][115.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sigmoid.cpp +54272 warnings generated. +Suppressed 54274 warnings (54272 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1035/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store_equivalent.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/store_equivalent.cpp:34:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 34 | eve::stack_buffer buf; + | ^ + | {} +51316 warnings generated. +Suppressed 51316 warnings (51314 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1036/1170][253.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow.cpp +59346 warnings generated. +Suppressed 59348 warnings (59346 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1037/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/updown.cpp +51178 warnings generated. +Suppressed 51180 warnings (51178 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1038/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/logspace_sub.cpp +46316 warnings generated. +Suppressed 46318 warnings (46316 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1039/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bitincrement.cpp +44993 warnings generated. +Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1040/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nan.cpp +46168 warnings generated. +Suppressed 46170 warnings (46168 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1041/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_3.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1042/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrtlog_4.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1043/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/iota_with_step.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +45991 warnings generated. +Suppressed 45615 warnings (45613 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1044/1170][519.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fnma.cpp +76233 warnings generated. +Suppressed 76235 warnings (76233 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1045/1170][39.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/phi.cpp +52966 warnings generated. +Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1046/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_yn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_yn.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); + | ^ +48063 warnings generated. +Suppressed 48053 warnings (48051 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1047/1170][52.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlogdenormal.cpp +54423 warnings generated. +Suppressed 54425 warnings (54423 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1048/1170][620.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/conditional.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/store/conditional.cpp:44:5: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 44 | std::array data; + | ^ + | {} +58832 warnings generated. +Suppressed 58748 warnings (58746 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1049/1170][61.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/frac.cpp +53865 warnings generated. +Suppressed 53867 warnings (53865 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1050/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotate.cpp +45078 warnings generated. +Suppressed 45080 warnings (45078 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1051/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options<>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 17 | auto process(auto const& base, O const& opt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 17 | auto process(auto const& base, O const& opt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options<>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 17 | auto process(auto const& base, O const& opt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 17 | auto process(auto const& base, O const& opt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>, rbr::flag_keyword>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>, rbr::flag_keyword>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } + | ^ + | [[nodiscard]] +45010 warnings generated. +Suppressed 45003 warnings (45001 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1052/1170][67.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atanpi.cpp +53423 warnings generated. +Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1053/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/category.cpp +51136 warnings generated. +Suppressed 51138 warnings (51136 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1054/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/catalan.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1055/1170][178.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negatenz.cpp +56296 warnings generated. +Suppressed 56298 warnings (56296 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1056/1170][406.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fam.cpp +74250 warnings generated. +Suppressed 74252 warnings (74250 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1057/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type '(anonymous namespace)::test_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type '(anonymous namespace)::test_delegate>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:84:13: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 84 | std::array arr; + | ^ + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration_fixed_overflow.hpp:91:11: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 91 | std::array arr; + | ^ + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:21:3: warning: constructor does not initialize these fields: data [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 21 | fixture() { std::iota(data.begin(), data.end(), 0); } + | ^ + 22 | + 23 | auto aligned_begin() const + 24 | { + 25 | using ap = eve::aligned_ptr>; + 26 | return eve::algo::ptr_iterator> {ap(data.begin())}; + 27 | } + 28 | + 29 | auto aligned_end() const { return aligned_begin() + data.size(); } + 30 | + 31 | auto unaligned_begin() const { return eve::unalign(aligned_begin()); } + 32 | auto unaligned_end() const { return eve::unalign(aligned_end()); } + 33 | + 34 | alignas(sizeof(int) * 4) std::array data; + | + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:23:3: warning: function 'aligned_begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 23 | auto aligned_begin() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:29:3: warning: function 'aligned_end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 29 | auto aligned_end() const { return aligned_begin() + data.size(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:29:55: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 29 | auto aligned_end() const { return aligned_begin() + data.size(); } + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:31:3: warning: function 'unaligned_begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 31 | auto unaligned_begin() const { return eve::unalign(aligned_begin()); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:32:3: warning: function 'unaligned_end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 32 | auto unaligned_end() const { return eve::unalign(aligned_end()); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:109:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | ignore(eve::relative_conditional_expr auto expr) : body(expr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:118:3: warning: function 'count' should be marked [[nodiscard]] [modernize-use-nodiscard] + 118 | std::ptrdiff_t count() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:254:44: warning: the parameter 'expected' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] + 254 | auto test = [&](auto f, auto l, test_res expected) + | ^ + | const & +52656 warnings generated. +Suppressed 52232 warnings (52230 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1058/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/map.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +52670 warnings generated. +Suppressed 52268 warnings (52266 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1059/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/invocable.cpp +51098 warnings generated. +Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1060/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotr.cpp +45454 warnings generated. +Suppressed 45456 warnings (45454 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1061/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_pinf.cpp +46170 warnings generated. +Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1062/1170][69.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countr_one.cpp +54510 warnings generated. +Suppressed 54512 warnings (54510 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1063/1170][95.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_tuple.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 76 | eve::stack_buffer actual_storage; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 102 | eve::stack_buffer in; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +57180 warnings generated. +Suppressed 55796 warnings (55794 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1064/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nb_values.cpp +46881 warnings generated. +Suppressed 46883 warnings (46881 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1065/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_bit_equal.cpp +58578 warnings generated. +Suppressed 58580 warnings (58578 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1066/1170][41.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/arg.cpp +52593 warnings generated. +Suppressed 52595 warnings (52593 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1067/1170][8.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/doc_pch.cpp +error: PCH file '/Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.pch' not found: module file not found [clang-diagnostic-error] +error: unable to read PCH file /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.pch: 'No such file or directory' [clang-diagnostic-error] +2 errors generated. +Error while processing /Users/sadiinso/unsync/eve/build/doc_pch.cpp. +44938 warnings and 2 errors generated. +Error while processing /Users/sadiinso/unsync/eve/build/doc_pch.cpp. +Suppressed 44940 warnings (44938 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. +Found compiler error(s). + +[1068/1170][90.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_yn.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter + 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) + | ^ ~ ~ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +60503 warnings generated. +Suppressed 60490 warnings (60488 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1069/1170][38.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_unordered.cpp +52572 warnings generated. +Suppressed 52574 warnings (52572 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1070/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_or.cpp +45860 warnings generated. +Suppressed 45862 warnings (45860 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1071/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/expected_cardinal.cpp +51218 warnings generated. +Suppressed 51220 warnings (51218 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1072/1170][130.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ulpdist.cpp +54515 warnings generated. +Suppressed 54517 warnings (54515 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1073/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sign.cpp +46180 warnings generated. +Suppressed 46182 warnings (46180 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1074/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/radindeg.cpp +/Users/sadiinso/unsync/eve/test/doc/math/radindeg.cpp:8:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 8 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); + | ^ +45148 warnings generated. +Suppressed 45149 warnings (45147 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1075/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/iterator_cardinal.cpp +51139 warnings generated. +Suppressed 51141 warnings (51139 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1076/1170][53.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acot.cpp +53319 warnings generated. +Suppressed 53321 warnings (53319 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1077/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rc.cpp +45992 warnings generated. +Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1078/1170][296.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/arithmetic.cpp +59817 warnings generated. +Suppressed 59819 warnings (59817 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1079/1170][458.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fanm.cpp +75672 warnings generated. +Suppressed 75674 warnings (75672 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1080/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/keep_if.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46260 warnings generated. +Suppressed 45884 warnings (45882 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1081/1170][143.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfcx.cpp +55624 warnings generated. +Suppressed 55626 warnings (55624 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1082/1170][179.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/converting_eve_iterator.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; + | ^~~~~~~~~~ + | auto +/Users/sadiinso/unsync/eve/test/unit/module/algo/views/converting_eve_iterator.cpp:12:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 12 | alignas(sizeof(T)) std::array, T::size()> data; + | ^ + | {} +58121 warnings generated. +Suppressed 57250 warnings (57248 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1083/1170][27.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:82:17: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 82 | alignas(size) std::array values; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:106:17: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 106 | alignas(size) std::array values; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:116:14: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 116 | alignas(8) std::array values; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:126:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 126 | std::byte values[ 2 ]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:142:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 142 | std::byte values[ 2 ]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:160:3: warning: function 'method' should be marked [[nodiscard]] [modernize-use-nodiscard] + 160 | auto method() const { return this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:168:5: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 168 | type values[2] = {{42},{17}}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:19: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 265 | alignas(16 * 2) std::array data; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] + 265 | alignas(16 * 2) std::array data; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: note: make conversion explicit to silence this warning + 10 | alignas(16 * 2) std::array data; + | ^~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: note: perform multiplication in a wider type + 265 | alignas(16 * 2) std::array data; + | ^~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:34: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] + 270 | short const* prev_expected = data.begin() + (i / 16) * 16; + | ^ +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:49: note: make conversion explicit to silence this warning + 270 | short const* prev_expected = data.begin() + (i / 16) * 16; + | ^~~~~~~~~~~~~ + | static_cast( ) +/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:49: note: perform multiplication in a wider type + 270 | short const* prev_expected = data.begin() + (i / 16) * 16; + | ^~~~~~~ + | static_cast( ) +51227 warnings generated. +Suppressed 51209 warnings (51207 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1084/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/euler.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1085/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/search.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 166 | bool main_check(unaligned_t haystack_i) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 187 | bool small_check(wide_value_type_t haystack) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:14:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 14 | std::span h(reinterpret_cast(haystack.data()), haystack.size()); + | ^ +/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:15:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 15 | std::span n(reinterpret_cast(needle.data()), needle.size()); + | ^ +/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:54:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 54 | std::span h(reinterpret_cast(haystack.data()), haystack.size()); + | ^ +/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:55:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 55 | std::span n(reinterpret_cast(needle.data()), needle.size()); + | ^ +47121 warnings generated. +Suppressed 46686 warnings (46684 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1086/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress_copy.cpp +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +51035 warnings generated. +Suppressed 50972 warnings (50970 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1087/1170][45.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log10_e.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1088/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mone.cpp +44992 warnings generated. +Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1089/1170][32.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_different_lengths.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 39 | auto begin() const { return rng->begin(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 40 | auto end() const { return rng->end(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 166 | bool main_check(unaligned_t haystack_i) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 187 | bool small_check(wide_value_type_t haystack) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_different_lengths.cpp:21:3: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] + 21 | std::size_t ulen = (std::size_t)len; + | ^~~~~~~~~~~ + | auto +54002 warnings generated. +Suppressed 53508 warnings (53506 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1090/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fast_two_add.cpp +45347 warnings generated. +Suppressed 45349 warnings (45347 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1091/1170][86.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_i1.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +55483 warnings generated. +Suppressed 55478 warnings (55476 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1092/1170][227.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:19:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 19 | e_t ref [2*T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:35:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 35 | e_t ref [2*T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:55:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 55 | e_t data[2*T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:69:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 69 | e_t data[2*T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:83:27: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 83 | alignas(T::alignment()) e_t data[2*T::size()]; + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:97:27: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 97 | alignas(T::alignment()) e_t data[2*T::size()]; + | ^ +57667 warnings generated. +Suppressed 55071 warnings (55069 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1093/1170][51.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/firstbitset.cpp +53964 warnings generated. +Suppressed 53966 warnings (53964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1094/1170][81.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_to_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +66009 warnings generated. +Suppressed 63944 warnings (63942 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1095/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_greater.cpp +46356 warnings generated. +Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1096/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/minexponent.cpp +44965 warnings generated. +Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1097/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/csch.cpp +46403 warnings generated. +Suppressed 46405 warnings (46403 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1098/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sind.cpp +46271 warnings generated. +Suppressed 46273 warnings (46271 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1099/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acoth.cpp +45727 warnings generated. +Suppressed 45729 warnings (45727 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1100/1170][44.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_2.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1101/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_floor.cpp +46480 warnings generated. +Suppressed 46482 warnings (46480 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1102/1170][401.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fnms.cpp +71055 warnings generated. +Suppressed 71057 warnings (71055 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1103/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tand.cpp +46411 warnings generated. +Suppressed 46413 warnings (46411 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1104/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/shr.cpp +45239 warnings generated. +Suppressed 45241 warnings (45239 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1105/1170][125.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_and.cpp +57951 warnings generated. +Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1106/1170][95.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] + 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 23 | std::mt19937& gen; + | ^ +72072 warnings generated. +Suppressed 68469 warnings (68467 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1107/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/remove.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +46261 warnings generated. +Suppressed 45885 warnings (45883 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1108/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/iota.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +45991 warnings generated. +Suppressed 45615 warnings (45613 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1109/1170][171.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/as_value.cpp +53089 warnings generated. +Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1110/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqz.cpp +46166 warnings generated. +Suppressed 46168 warnings (46166 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1111/1170][430.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/has_equal_in.cpp +59902 warnings generated. +Suppressed 59904 warnings (59902 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1112/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/arg.cpp +45436 warnings generated. +Suppressed 45438 warnings (45436 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1113/1170][92.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tanpi.cpp +54425 warnings generated. +Suppressed 54427 warnings (54425 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1114/1170][32.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/radindeg.cpp +52175 warnings generated. +Suppressed 52177 warnings (52175 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1115/1170][112.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/agd.cpp +55812 warnings generated. +Suppressed 55814 warnings (55812 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1116/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/none.cpp +45301 warnings generated. +Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1117/1170][48.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lentz_b.cpp +/Users/sadiinso/unsync/eve/test/unit/module/math/lentz_b.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 15 | obj_const_fraction(U v) : z(v){}; + | ^ + | explicit +55200 warnings generated. +Suppressed 55201 warnings (55199 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1118/1170][153.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqr.cpp +63286 warnings generated. +Suppressed 63288 warnings (63286 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1119/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/underlying_type.cpp +51120 warnings generated. +Suppressed 51122 warnings (51120 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1120/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/chi.cpp +45190 warnings generated. +Suppressed 45192 warnings (45190 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1121/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp.cpp +45995 warnings generated. +Suppressed 45997 warnings (45995 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1122/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/hi.cpp +46331 warnings generated. +Suppressed 46333 warnings (46331 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1123/1170][43.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_pi.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1124/1170][8.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive_op.cpp +45060 warnings generated. +Suppressed 45062 warnings (45060 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1125/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/cardinal.cpp +51142 warnings generated. +Suppressed 51144 warnings (51142 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1126/1170][97.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_swap_adjacent.cpp +54456 warnings generated. +Suppressed 54458 warnings (54456 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1127/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_shl.cpp +45218 warnings generated. +Suppressed 45220 warnings (45218 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1128/1170][72.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy.cpp +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , mult(x / 2) + 69 | { + 70 | mult = x / 2; + | ^~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | + | , term(1) + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + | ^~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) + | ~~~~ + 69 | { + 70 | mult = x / 2; + 71 | mult *= -mult; + 72 | term = 1; + 73 | } + 74 | constexpr T operator()() + 75 | { + 76 | T r = term; + 77 | ++N; + 78 | term *= mult / (N * (N + v)); + 79 | return r; + 80 | } + 81 | + 82 | private: + 83 | unsigned N; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ^~~~~~~~~ + | term(1), +/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } + | ~~~~ + 111 | + 112 | T operator()() + 113 | { + 114 | T result = term; + 115 | ++k; + 116 | term *= mult / k; + 117 | term /= k + v; + 118 | return result; + 119 | } + 120 | + 121 | private: + 122 | unsigned k; + | ^ + | {0} +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +60173 warnings generated. +Suppressed 60162 warnings (60160 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1129/1170][217.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_right.cpp +56508 warnings generated. +Suppressed 56510 warnings (56508 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1130/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_bit_equal.cpp +46390 warnings generated. +Suppressed 46392 warnings (46390 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1131/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nlez.cpp +46208 warnings generated. +Suppressed 46210 warnings (46208 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1132/1170][59.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countr_zero.cpp +54454 warnings generated. +Suppressed 54456 warnings (54454 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1133/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/nan.cpp +44963 warnings generated. +Suppressed 44965 warnings (44963 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1134/1170][498.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/top_bits.cpp +/Users/sadiinso/unsync/eve/test/unit/arch/top_bits.cpp:207:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] + 207 | logical test_inputs[] { + | ^ +54337 warnings generated. +Suppressed 54207 warnings (54205 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1135/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ngtz.cpp +46208 warnings generated. +Suppressed 46210 warnings (46208 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1136/1170][1148.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_equal_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::views::converting_iterator>, short>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::views::converting_iterator>, long long>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::views::converting_iterator>, short>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::views::converting_iterator>, long long>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 166 | bool main_check(unaligned_t haystack_i) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] + 187 | bool small_check(wide_value_type_t haystack) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 23 | std::mt19937& gen; + | ^ +62099 warnings generated. +Suppressed 60141 warnings (60139 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1137/1170][143.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinh.cpp +54804 warnings generated. +Suppressed 54806 warnings (54804 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1138/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_logical.cpp +51341 warnings generated. +Suppressed 51343 warnings (51341 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1139/1170][60.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp:23:17: warning: declaration uses identifier '_S', which is a reserved identifier [bugprone-reserved-identifier] + 23 | constexpr auto _S = eve::index_t(); + | ^~ + | S + 24 | constexpr auto _H = eve::index_t(); + 25 | using eve::byte_swap_pairs; + 26 | TTS_EQUAL(byte_swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _S); }, a0)); + | ~~ ~~ ~~ + | S S S + 27 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _S), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _S), a0)); + | ~~ ~~ + | S S +/Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp:24:17: warning: declaration uses identifier '_H', which is a reserved identifier [bugprone-reserved-identifier] + 24 | constexpr auto _H = eve::index_t(); + | ^~ + | H + 25 | using eve::byte_swap_pairs; + 26 | TTS_EQUAL(byte_swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _S); }, a0)); + 27 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _S), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _S), a0)); + 28 | TTS_EQUAL(byte_swap_pairs(a0, _0, _H), tts::map([_0, _H](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _H); }, a0)); + | ~~ ~~ ~~ + | H H H + 29 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _H), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _H), a0)); + | ~~ ~~ + | H H +54776 warnings generated. +Suppressed 54776 warnings (54774 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1140/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minus.cpp +46182 warnings generated. +Suppressed 46184 warnings (46182 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1141/1170][90.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rf.cpp +58604 warnings generated. +Suppressed 58606 warnings (58604 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1142/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negabsmin.cpp +46325 warnings generated. +Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1143/1170][30.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/read.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +51595 warnings generated. +Suppressed 51560 warnings (51558 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1144/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/all_of.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/all_of.cpp:16:55)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] + 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 107 | struct logger + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 109 | logger(bool status = true) : display(status), done(false) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] + 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here + 106 | struct fatal_signal {}; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] + 109 | bool display, done; + | ^ + | {false} +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 143 | constexpr callable(Function f) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] + 149 | , payload{std::move(other.payload)} + | ^~~~~~~~~~ ~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^ ~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here + 164 | static void destroy(void* data) { delete static_cast(data); } + | ^~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] + 188 | bool inline test::acknowledge(test&& f) + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] + 208 | auto flag() const { return token.substr(0, position); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] + 209 | bool is_valid() const { return !flag().empty(); } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] + 210 | template T get(T const& def = T{}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] + 233 | template T value(params_t fs, T that = {}) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] + 247 | detail::option find(params_t fs) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 260 | inline ::tts::options current_arguments = {0,nullptr}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] + 266 | detail::current_arguments = ::tts::options{argc,argv}; + | ^~~~~~~~~~~ + | .argc= .argv= +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here + 228 | struct options + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] + 376 | #define TTS_STRING__(...) #__VA_ARGS__ + | ^~~~~~~~~~~~ + | TTS_STRING_ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 479 | test_capture(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 486 | test_captures(const char* id) : name(id) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] + 721 | std::size_t size() const { return nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 722 | std::size_t capacity() const { return N; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] + 723 | std::size_t empty() const { return nbelems == 0; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] + 735 | T back() const { return storage[size()-1]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] + 737 | T front() const { return storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 742 | auto begin() const { return &storage[0]; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 743 | auto end() const { return begin() + nbelems; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 762 | param_type( T pa = 0, T pb = 1 + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 784 | fp_dist(param_type const& pr) noexcept { param(pr); } + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 928 | value(T v) : seed(v) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 935 | ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 946 | reverse_ramp(T s) : start(s), step(1) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 973 | sample(Distribution d) : dist(std::move(d)) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] + 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } + | ^~~~~~~~~~~~ ~ + | { } +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] + 1488 | using u_t = typename std::make_unsigned::type; + | ~~~~~~~~ ^ ~~~~~~ + | _t +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1715 | ratio += (100.*ulp_map[i])/nb_ulps; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 1716 | if (i <= 3 ) ulps = i/2.0; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 1781 | struct prng_generator + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | ^ + | explicit +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) + | + | , seed_(random_seed()) + 1786 | { + 1787 | seed_ = random_seed(); + | ^~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1884 | int & id; + | ^ +/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 1885 | int const & section; + | ^ +52031 warnings generated. +Suppressed 51578 warnings (51576 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1145/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/exp_int.cpp +47449 warnings generated. +Suppressed 47451 warnings (47449 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1146/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maxabs.cpp +46198 warnings generated. +Suppressed 46200 warnings (46198 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1147/1170][350.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/slide_left.cpp +58283 warnings generated. +Suppressed 58285 warnings (58283 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1148/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrtsmallestposval.cpp +44993 warnings generated. +Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1149/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countr_zero.cpp +45517 warnings generated. +Suppressed 45519 warnings (45517 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1150/1170][25.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/is_aligned.cpp +51146 warnings generated. +Suppressed 51148 warnings (51146 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1151/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/newton.cpp +/Users/sadiinso/unsync/eve/test/doc/math/newton.cpp:8:84: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] + 8 | eve::wide wf([](auto i, auto c){ return (1+eve::eps(eve::as()))*(i-c/2);}); + | ^ +45549 warnings generated. +Suppressed 45550 warnings (45548 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1152/1170][17.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_d.cpp +47497 warnings generated. +Suppressed 47499 warnings (47497 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1153/1170][121.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_logical.large.cpp +/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 181 | std::array res; + | ^ + | {} +55401 warnings generated. +Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1154/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sindcosd.cpp +46582 warnings generated. +Suppressed 46584 warnings (46582 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1155/1170][166.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint32.cpp +53819 warnings generated. +Suppressed 53821 warnings (53819 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1156/1170][38.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/egamma.cpp +52964 warnings generated. +Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1157/1170][99.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/zero.cpp +54839 warnings generated. +Suppressed 54841 warnings (54839 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1158/1170][122.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lrising_factorial.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +56307 warnings generated. +Suppressed 56302 warnings (56300 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1159/1170][130.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_negative.cpp +58768 warnings generated. +Suppressed 58770 warnings (58768 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1160/1170][206.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/oneminus.cpp +62109 warnings generated. +Suppressed 62111 warnings (62109 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1161/1170][215.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint64.cpp +54125 warnings generated. +Suppressed 54127 warnings (54125 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1162/1170][107.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lpnorm.cpp +57271 warnings generated. +Suppressed 57273 warnings (57271 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1163/1170][80.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/logspace_add.cpp +55483 warnings generated. +Suppressed 55485 warnings (55483 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1164/1170][104.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/log_gamma.cpp +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] + 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] + 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] + 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] + 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' + 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: + 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: + 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: + 444 | r = helpers::large_negative(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: + 82 | T w = eve::log_abs_gamma(q); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: + 22 | return this->behavior(as{}, eve::current_api, this->options(), v); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: + 221 | return adapt_call(pt, arch, opts, x0, xs...); + | ^ +/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles +55744 warnings generated. +Suppressed 55739 warnings (55737 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1165/1170][108.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/dawson.cpp +54034 warnings generated. +Suppressed 54036 warnings (54034 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1166/1170][209.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_driver.cpp +66278 warnings generated. +Suppressed 66280 warnings (66278 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1167/1170][407.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'int' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] + 219 | T data {[](auto i, auto) { return static_cast(1 + i); }}; + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'int' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'long' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'long' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:250:19: warning: either cast from 'std::ptrdiff_t' (aka 'long') to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] + 250 | data.set(i, static_cast(1 + i)); + | ^ +/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:250:19: warning: either cast from 'std::ptrdiff_t' (aka 'long') to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] +62675 warnings generated. +Suppressed 62663 warnings (62661 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1168/1170][210.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/dec.cpp +/Users/sadiinso/unsync/eve/test/unit/module/core/dec.cpp:77:43: warning: expression is redundant [misc-redundant-expression] + 77 | { return v_t((e > 64 && e != eve::valmin(eve::as(e)) ? e - 1 : e)); }, + | ^ +62102 warnings generated. +Suppressed 62068 warnings (62066 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1169/1170][260.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minabs.cpp +65068 warnings generated. +Suppressed 65070 warnings (65068 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + +[1170/1170][1095.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 59 | aligned_allocator() noexcept {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 63 | aligned_allocator(aligned_allocator const &) noexcept + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 82 | return std::aligned_alloc(a, sz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] + 99 | std::free(ptr); + | ^~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 25 | I begin() const { return f; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 26 | S end () const { return l; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] + 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] + 46 | struct soa_storage + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , data_(allocate(byte_size(c))) + 60 | { + 61 | data_ = allocate(byte_size(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) + | + | , capacity_(aligned_capacity(c)) + 60 | { + 61 | data_ = allocate(byte_size(c)); + 62 | capacity_ = aligned_capacity(c); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , indexes_(src.indexes_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) + | + | , capacity_(src.capacity_) + 83 | { + 84 | auto sz = byte_size(src.capacity_); + 85 | + 86 | // Strong guarantee on allocation + 87 | auto local = allocate(sz); + 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); + 89 | data_ = std::move(local); + 90 | + 91 | indexes_ = src.indexes_; + 92 | capacity_ = src.capacity_; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] + 128 | std::size_t capacity() const noexcept { return capacity_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] + 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 168 | aligned_deleter(Allocator a) : Allocator(a) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 81 | Traits traits() const { return traits_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] + 83 | I begin() const { return f_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] + 84 | S end() const { return l_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | template EVE_FORCEINLINE bool operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 43 | bool& should_break; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | I& f; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 45 | S& l; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 46 | Delegate& delegate; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 24 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 34 | LoopBody& loop_body; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 79 | Less & less; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 27 | template EVE_FORCEINLINE auto operator()(R&& r) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 65 | auto previous_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] + 75 | auto next_partially_aligned() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 87 | template + | ^~~~~~~~~ + | Cardinal + 88 | auto cardinal_cast(_Cardinal c) const + | ~~~~~~~~~ + | Cardinal + 89 | { + 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); + | ~~~~~~~~~ + | Cardinal + 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); + | ~~~~~~~~~ + | Cardinal + 92 | else + 93 | { + 94 | using other_ptr = aligned_ptr; + | ~~~~~~~~~ + | Cardinal + 95 | using other_it = ptr_iterator; + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] + 88 | auto cardinal_cast(_Cardinal c) const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 37 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 44 | Verify& verify; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 39 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 40 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 41 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 133 | R1 & r1; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 134 | R2 & r2; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] + 135 | RO & ro; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 223 | constexpr auto modified_traits() const + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 63 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 94 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 309 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 354 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 373 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] + 398 | template constexpr auto operator=(Value const&) const noexcept + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] + 641 | constexpr Traits get_traits() const { return tr_; } + | ^ + | [[nodiscard]] +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] + 643 | constexpr supports_traits() {} + | ^ ~~ + | = default; +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] + 661 | Traits tr_; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 83 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 189 | template + | ^~~~~~~~~ + | Cardinal + 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 147 | converting_iterator(converting_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 222 | template + | ^~~~~~~~~ + | Cardinal + 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 33 | struct iota_with_step_iterator : operations_with_distance + | ^ + 34 | { + 35 | using value_type = T; + 36 | using wv_type = eve::wide; + 37 | + 38 | value_type base; + 39 | value_type step; + 40 | std::ptrdiff_t i; + | + | {} +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] + 50 | i(0) + | + | , wide_cur(wv_type {[&](int j, int) { return j; }}) + 51 | { + 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] + 65 | template + | ^~ + | N + 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } + | ~~ ~~ + | N N +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] + 163 | } map_convert; + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 242 | map_iterator(map_iterator x) : base(x.base), + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 322 | template + | ^~~~~~~~~ + | Cardinal + 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 72 | auto operator()(Wrapped&& wrapped) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 177 | template + | ^~~~~~~~~ + | Cardinal + 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 105 | [&](C&& c) + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } + | ^ +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 162 | zip_iterator_common(zip_iterator x) + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] + 173 | EVE_FORCEINLINE operator zip_iterator...>() const + | ^ + | explicit +/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] + 370 | template + | ^~~~~~~~~ + | Cardinal + 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const + | ~~~~~~~~~ + | Cardinal +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 143 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] + 149 | std::array res; + | ^ + | {} +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp:22:40: warning: forwarding reference parameter 'from' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | EVE_FORCEINLINE void operator()(R1&& from, R2&& to) const + | ^ +/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp:22:51: warning: forwarding reference parameter 'to' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] + 22 | EVE_FORCEINLINE void operator()(R1&& from, R2&& to) const + | ^ +70586 warnings generated. +Suppressed 67666 warnings (67664 in non-user code, 2 NOLINT). +Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. + diff --git a/include/eve/module/core/regular/if_else.hpp b/include/eve/module/core/regular/if_else.hpp index dc3ebafcda..c87b0c65b8 100644 --- a/include/eve/module/core/regular/if_else.hpp +++ b/include/eve/module/core/regular/if_else.hpp @@ -113,6 +113,11 @@ namespace eve return EVE_DISPATCH_CALL(logical(mask),v0,v1); } + EVE_FORCEINLINE constexpr bool operator()(bool mask, bool v0, bool v1) const noexcept + { + return mask ? v0 : v1; + } + EVE_CALLABLE_OBJECT(if_else_t, if_else_); }; diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 4acc063a16..ebff889316 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -18,7 +18,7 @@ namespace eve { template constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept - requires same_lanes_or_scalar + requires (same_lanes_or_scalar && !arithmetic_simd_value && !arithmetic_simd_value) { return EVE_DISPATCH_CALL(a, b); } diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index c8317fa537..43b17d1f00 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -95,8 +95,8 @@ namespace eve::detail find_common_logical_reducer, find_common_logical_reducer ) { - if constexpr (simd_value) return find_common_logical_reducer>{}; - else if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; + if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; + else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (scalar_value) return find_common_logical_reducer>{}; diff --git a/include/eve/traits/overload/default_behaviors.hpp b/include/eve/traits/overload/default_behaviors.hpp index 7f58b0b179..a966a4502b 100644 --- a/include/eve/traits/overload/default_behaviors.hpp +++ b/include/eve/traits/overload/default_behaviors.hpp @@ -105,15 +105,25 @@ namespace eve template constexpr EVE_FORCEINLINE auto adapt_call(auto a, O const& o, T x, Ts const&... xs) const { - constexpr bool has_implementation = requires{ func_t::deferred_call(a, o, x, xs...); }; - constexpr bool supports_map_no_conversion = requires{ map(this->derived(), x, xs...); }; - constexpr bool any_emulated = (has_emulated_abi_v || ... || has_emulated_abi_v); - constexpr bool any_aggregated = (has_aggregated_abi_v || ... || has_aggregated_abi_v); - - if constexpr(any_aggregated) return aggregate(this->derived(), x, xs...); - else if constexpr(any_emulated && supports_map_no_conversion) return map(this->derived(), x, xs...); - else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - else return ignore{}; + constexpr bool any_aggregated = (has_aggregated_abi_v || ... || has_aggregated_abi_v); + + if constexpr (any_aggregated) return aggregate(this->derived(), x, xs...); + else + { + constexpr bool any_emulated = (has_emulated_abi_v || ... || has_emulated_abi_v); + constexpr bool has_implementation = requires{ func_t::deferred_call(a, o, x, xs...); }; + + if constexpr (any_emulated) + { + constexpr bool supports_map_no_conversion = requires{ map(this->derived(), x, xs...); }; + + if constexpr (supports_map_no_conversion) return map(this->derived(), x, xs...); + else if constexpr (has_implementation) return func_t::deferred_call(a, o, x, xs...); + else return ignore{}; + } + else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); + else return ignore{}; + } } template diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp index f6c1075ca7..50fb278a59 100644 --- a/test/unit/meta/traits/common_logical.cpp +++ b/test/unit/meta/traits/common_logical.cpp @@ -9,25 +9,6 @@ #include #include "test.hpp" -// S, Ls, b, W, Lw -// -// - -// W x W -> LW T - -// S x W -> Lw U -// S x Lw -> Lw U -// - -// Ls x W -> Lw U -// Ls x Lw -> Lw U -// -// W x S -> Lw T -// W x Ls -> Lw T -// -// Lw x S -> Lw T -// Lw x Ls -> Lw T - template struct rewrap; template struct rewrap> { using type = tts::types; }; diff --git a/test/unit/module/core/logical_and.cpp b/test/unit/module/core/logical_and.cpp index f43a0a4431..1ff04ec59d 100644 --- a/test/unit/module/core/logical_and.cpp +++ b/test/unit/module/core/logical_and.cpp @@ -9,40 +9,91 @@ #include +using namespace eve; + +template struct rewrap; +template +struct rewrap> { using type = tts::types; }; + +template struct cartesian; + +template +struct cartesian, tts::types> +{ + using base = kumi::result::cartesian_product_t,kumi::tuple>; + using types_list = typename rewrap::type; +}; + //================================================================================================== //== Types tests //================================================================================================== -TTS_CASE_TPL("Check return types of eve::logical_and(simd)", eve::test::simd::all_types) +TTS_CASE_TPL("Check return types of eve::logical_and(scalar)", eve::test::scalar::all_types) (tts::type) { - using eve::logical; - using v_t = eve::element_type_t; - TTS_EXPR_IS(eve::logical_and(logical(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(logical(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(logical(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(logical(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(logical(), bool()), logical); - TTS_EXPR_IS(eve::logical_and(logical(), bool()), logical); - TTS_EXPR_IS(eve::logical_and(bool(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(bool(), logical()), logical); - TTS_EXPR_IS(eve::logical_and(bool(), bool()), bool); + TTS_EXPR_IS(logical_and(logical(), logical()), logical); + TTS_EXPR_IS(logical_and(bool(), logical()), logical); + TTS_EXPR_IS(logical_and(logical(), bool()), logical); + TTS_EXPR_IS(logical_and(T(), bool()), logical); + TTS_EXPR_IS(logical_and(bool(), T()), logical); + TTS_EXPR_IS(logical_and(bool(), bool()), bool); }; -TTS_CASE("Check return types of eve::logical_and(bool)") +TTS_CASE_TPL("Check return types of eve::logical_and(simd)", eve::test::simd::all_types) +(tts::type) { - TTS_EQUAL(eve::logical_and(true, true), true); - TTS_EQUAL(eve::logical_and(true, false), false); - TTS_EQUAL(eve::logical_and(false, true), false); - TTS_EQUAL(eve::logical_and(false, false), false); + using v_t = element_type_t; + + TTS_EXPR_IS(logical_and(logical(), logical()), logical); + TTS_EXPR_IS(logical_and(logical(), logical()), logical); + TTS_EXPR_IS(logical_and(logical(), logical()), logical); + TTS_EXPR_IS(logical_and(logical(), bool()), logical); + TTS_EXPR_IS(logical_and(bool(), logical()), logical); + TTS_EXPR_IS(logical_and(logical(), bool()), logical); + TTS_EXPR_IS(logical_and(bool(), logical()), logical); }; //================================================================================================== //== Tests for eve::logical_and //================================================================================================== -TTS_CASE_WITH("Check behavior of eve::logical_and(simd)", +TTS_CASE("Check return types of eve::logical_and(bool)") +{ + TTS_EQUAL(logical_and(true, true), true); + TTS_EQUAL(logical_and(true, false), false); + TTS_EQUAL(logical_and(false, true), false); + TTS_EQUAL(logical_and(false, false), false); +}; + +template +auto test_type(T a, U b) -> decltype(logical_and(a, b)) { return logical_and(a, b); } + +TTS_CASE_TPL("Check behavior of eve::logical_and(wide)" + , cartesian + ) +( tts::type> ) +{ + [[maybe_unused]] const T t{}; + [[maybe_unused]] const U u{}; + [[maybe_unused]] const logical lt{}; + [[maybe_unused]] const logical lu{}; + [[maybe_unused]] const wide wt{}; + [[maybe_unused]] const wide wu{}; + [[maybe_unused]] const logical> lwt{}; + [[maybe_unused]] const logical> lwu{}; + + TTS_EXPECT_NOT_COMPILES(t, wu, { test_type(t, wu); }); + TTS_EXPECT_NOT_COMPILES(lt, wu, { test_type(lt, wu); }); + TTS_EXPECT_NOT_COMPILES(wt, wu, { test_type(wt, wu); }); + TTS_EXPECT_NOT_COMPILES(lwt, wu, { test_type(lwt, wu); }); + + TTS_EXPECT_NOT_COMPILES(wt, u, { test_type(wt, u); }); + TTS_EXPECT_NOT_COMPILES(wt, lu, { test_type(wt, lu); }); + TTS_EXPECT_NOT_COMPILES(wt, lwu, { test_type(wt, lwu); }); +}; + +TTS_CASE_WITH("Check behavior of eve::logical_and(logical)", eve::test::simd::all_types, tts::generate(tts::logicals(0, 3), tts::logicals(1, 2), tts::randoms(0, 2))) -(M const& l0, M const& l1, T const& a0) +(M const& l0, [[maybe_unused]] M const& l1, [[maybe_unused]] T const& a0) { using l_t = eve::element_type_t; From 3594603c01f1072e2f6cdba3bb10219fc168c827 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Thu, 26 Sep 2024 19:36:20 +0200 Subject: [PATCH 12/18] made common_logical more commutative --- include/eve/module/core/regular/logical_and.hpp | 15 ++++++++------- include/eve/traits/common_value.hpp | 2 +- test/unit/meta/traits/common_logical.cpp | 10 ++++------ 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index ebff889316..fa9a492cda 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -77,13 +77,14 @@ namespace eve template EVE_FORCEINLINE constexpr common_logical_t logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - if constexpr ((scalar_value || std::same_as) && (scalar_value || std::same_as)) return a && b; - else if constexpr (std::same_as) return logical_and(U{a}, b); - else if constexpr (std::same_as) return logical_and(a, T{b}); - else if constexpr (scalar_value && simd_value) return logical_and(as_wide_as_t{a}, b); - else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as>{}); - else return logical_and(a, convert(b, as{})); + if constexpr ((scalar_value || std::same_as) + && (scalar_value || std::same_as)) return a && b; + else if constexpr (std::same_as) return logical_and(U{a}, b); + else if constexpr (std::same_as) return logical_and(a, T{b}); + else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); + else if constexpr (scalar_value && simd_value) return logical_and(b, U{a}); + else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as>{}); + else return logical_and(a, convert(b, as{})); } } } diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index 43b17d1f00..f6519f8c8a 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -97,10 +97,10 @@ namespace eve::detail ) { if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; else if constexpr (simd_value) return find_common_logical_reducer>{}; + else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (scalar_value) return find_common_logical_reducer>{}; - else if constexpr (simd_value) return find_common_logical_reducer>>{}; else return find_common_logical_reducer{}; } }; diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp index 50fb278a59..32d61b9703 100644 --- a/test/unit/meta/traits/common_logical.cpp +++ b/test/unit/meta/traits/common_logical.cpp @@ -64,17 +64,15 @@ TTS_CASE_TPL("eve::common_logical on wide x wide" using Wt = eve::wide; using Wu = eve::wide; - using uWt = eve::as_wide_as_t; - TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t>), eve::logical); TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), eve::logical); + TTS_TYPE_IS((eve::common_logical_t>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t>), eve::logical); From 959832b4c3c3560f028417998f01c6f5f7259a8a Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Mon, 30 Sep 2024 13:08:07 +0200 Subject: [PATCH 13/18] fix NO_SIMD --- .../eve/module/core/regular/logical_and.hpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index fa9a492cda..243e640402 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -20,7 +20,14 @@ namespace eve constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept requires (same_lanes_or_scalar && !arithmetic_simd_value && !arithmetic_simd_value) { - return EVE_DISPATCH_CALL(a, b); + if constexpr (has_emulated_abi_v>) + { + return convert(EVE_DISPATCH_CALL(a, b), as_element>{}); + } + else + { + return EVE_DISPATCH_CALL(a, b); + } } EVE_CALLABLE_OBJECT(logical_and_t, logical_and_); @@ -77,14 +84,13 @@ namespace eve template EVE_FORCEINLINE constexpr common_logical_t logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { - if constexpr ((scalar_value || std::same_as) - && (scalar_value || std::same_as)) return a && b; + if constexpr (std::same_as && std::same_as) return a && b; else if constexpr (std::same_as) return logical_and(U{a}, b); else if constexpr (std::same_as) return logical_and(a, T{b}); - else if constexpr (simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (scalar_value && simd_value) return logical_and(b, U{a}); + else if constexpr (logical_simd_value && scalar_value) return logical_and(a, T{b}); + else if constexpr (scalar_value && logical_simd_value) return logical_and(b, U{a}); else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as>{}); - else return logical_and(a, convert(b, as{})); + else return logical_and(a, convert(b, as>{})); } } } From 374bbc01a6e89d5ddaf7b102e3573545e9d10ae4 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Mon, 30 Sep 2024 13:22:52 +0200 Subject: [PATCH 14/18] fix --- include/eve/module/core/regular/logical_and.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 243e640402..5d8f1f5efd 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -89,8 +89,12 @@ namespace eve else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (logical_simd_value && scalar_value) return logical_and(a, T{b}); else if constexpr (scalar_value && logical_simd_value) return logical_and(b, U{a}); - else if constexpr (std::same_as) return bit_cast(a.bits() & b.bits(), as>{}); - else return logical_and(a, convert(b, as>{})); + else if constexpr (std::same_as) + { + if constexpr (scalar_value && scalar_value) return T{a && b}; + else return bit_cast(a.bits() & b.bits(), as>{}); + } + else return logical_and(a, convert(b, as>{})); } } } From c7bdc8a822ffd2d2a747acaf7964280d49ac1381 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Fri, 29 Nov 2024 10:43:16 +0100 Subject: [PATCH 15/18] changed common_logical behaviour --- .../eve/module/core/regular/logical_and.hpp | 6 +++- include/eve/traits/common_value.hpp | 2 +- test/unit/meta/traits/common_logical.cpp | 31 ++++++++++--------- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 5d8f1f5efd..14a24cd00b 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -88,7 +88,11 @@ namespace eve else if constexpr (std::same_as) return logical_and(U{a}, b); else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (logical_simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (scalar_value && logical_simd_value) return logical_and(b, U{a}); + else if constexpr (scalar_value && logical_simd_value) + { + using lw_t = as_logical_t>; + return logical_and(lw_t{a}, lw_t{b}); + } else if constexpr (std::same_as) { if constexpr (scalar_value && scalar_value) return T{a && b}; diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index f6519f8c8a..c14f23513a 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -97,9 +97,9 @@ namespace eve::detail ) { if constexpr (std::same_as && std::same_as) return find_common_logical_reducer{}; else if constexpr (simd_value) return find_common_logical_reducer>{}; - else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; + else if constexpr (simd_value) return find_common_logical_reducer>>{}; else if constexpr (scalar_value) return find_common_logical_reducer>{}; else return find_common_logical_reducer{}; } diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp index 32d61b9703..cd34e0f58c 100644 --- a/test/unit/meta/traits/common_logical.cpp +++ b/test/unit/meta/traits/common_logical.cpp @@ -61,21 +61,24 @@ TTS_CASE_TPL("eve::common_logical on wide x wide" ) ( tts::type> ) { - using Wt = eve::wide; - using Wu = eve::wide; + using Wt = eve::wide>; + using Wu = eve::wide>; + using LWt = eve::logical; + using LWu = eve::logical; - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWt); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, Wu>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + // ensure compatibility with eve::detail::map + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t, Wu>), LWt); + TTS_TYPE_IS((eve::common_logical_t, LWu>), LWt); - TTS_TYPE_IS((eve::common_logical_t), eve::logical); - TTS_TYPE_IS((eve::common_logical_t>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, U>), eve::logical); - TTS_TYPE_IS((eve::common_logical_t, eve::logical>), eve::logical); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t>), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWt); + TTS_TYPE_IS((eve::common_logical_t>), LWt); }; From 6090b7160c8ca39ed5987781ca230114e6fde7e3 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Fri, 29 Nov 2024 12:06:31 +0100 Subject: [PATCH 16/18] fix --- .clang-tidy | 40 - clang-tidy-output.txt | 102007 --------------- .../eve/module/core/regular/logical_and.hpp | 11 +- include/eve/traits/common_value.hpp | 6 +- 4 files changed, 7 insertions(+), 102057 deletions(-) delete mode 100644 .clang-tidy delete mode 100644 clang-tidy-output.txt diff --git a/.clang-tidy b/.clang-tidy deleted file mode 100644 index 0afe2e875b..0000000000 --- a/.clang-tidy +++ /dev/null @@ -1,40 +0,0 @@ -Checks: > - -*, - bugprone-*, - clang-analyzer-*, - cppcoreguidelines-*, - misc-*, - modernize-*, - performance-*, - hicpp-*, - - -misc-const-correctness, - - -bugprone-exception-escape, - -bugprone-macro-parentheses, - -bugprone-easily-swappable-parameters, - -clang-analyzer-optin.core.EnumCastOutOfRange, - -cppcoreguidelines-avoid-magic-numbers, - -cppcoreguidelines-avoid-do-while, - -cppcoreguidelines-avoid-non-const-global-variables, - -cppcoreguidelines-init-variables, - -cppcoreguidelines-pro-bounds-pointer-arithmetic, - -cppcoreguidelines-pro-bounds-constant-array-index, - -cppcoreguidelines-macro-usage, - -cppcoreguidelines-macro-to-enum, - -modernize-use-trailing-return-type, - -modernize-use-std-numbers, - -modernize-macro-to-enum, - -misc-include-cleaner, - -misc-non-private-member-variables-in-classes, - -misc-use-internal-linkage, - -misc-confusable-identifiers, - -performance-avoid-endl, - -hicpp-uppercase-literal-suffix, - -hicpp-braces-around-statements, - -hicpp-named-parameter, - -hicpp-signed-bitwise - -HeaderFilterRegex: '.*' - -FormatStyle: file diff --git a/clang-tidy-output.txt b/clang-tidy-output.txt deleted file mode 100644 index 454e1acb2e..0000000000 --- a/clang-tidy-output.txt +++ /dev/null @@ -1,102007 +0,0 @@ -Enabled checks: - bugprone-argument-comment - bugprone-assert-side-effect - bugprone-assignment-in-if-condition - bugprone-bad-signal-to-kill-thread - bugprone-bool-pointer-implicit-conversion - bugprone-branch-clone - bugprone-casting-through-void - bugprone-chained-comparison - bugprone-compare-pointer-to-member-virtual-function - bugprone-copy-constructor-init - bugprone-crtp-constructor-accessibility - bugprone-dangling-handle - bugprone-dynamic-static-initializers - bugprone-empty-catch - bugprone-fold-init-type - bugprone-forward-declaration-namespace - bugprone-forwarding-reference-overload - bugprone-implicit-widening-of-multiplication-result - bugprone-inaccurate-erase - bugprone-inc-dec-in-conditions - bugprone-incorrect-enable-if - bugprone-incorrect-roundings - bugprone-infinite-loop - bugprone-integer-division - bugprone-lambda-function-name - bugprone-macro-repeated-side-effects - bugprone-misplaced-operator-in-strlen-in-alloc - bugprone-misplaced-pointer-arithmetic-in-alloc - bugprone-misplaced-widening-cast - bugprone-move-forwarding-reference - bugprone-multi-level-implicit-pointer-conversion - bugprone-multiple-new-in-one-expression - bugprone-multiple-statement-macro - bugprone-narrowing-conversions - bugprone-no-escape - bugprone-non-zero-enum-to-bool-conversion - bugprone-not-null-terminated-result - bugprone-optional-value-conversion - bugprone-parent-virtual-call - bugprone-pointer-arithmetic-on-polymorphic-object - bugprone-posix-return - bugprone-redundant-branch-condition - bugprone-reserved-identifier - bugprone-return-const-ref-from-parameter - bugprone-shared-ptr-array-mismatch - bugprone-signal-handler - bugprone-signed-char-misuse - bugprone-sizeof-container - bugprone-sizeof-expression - bugprone-spuriously-wake-up-functions - bugprone-standalone-empty - bugprone-string-constructor - bugprone-string-integer-assignment - bugprone-string-literal-with-embedded-nul - bugprone-stringview-nullptr - bugprone-suspicious-enum-usage - bugprone-suspicious-include - bugprone-suspicious-memory-comparison - bugprone-suspicious-memset-usage - bugprone-suspicious-missing-comma - bugprone-suspicious-realloc-usage - bugprone-suspicious-semicolon - bugprone-suspicious-string-compare - bugprone-suspicious-stringview-data-usage - bugprone-swapped-arguments - bugprone-switch-missing-default-case - bugprone-terminating-continue - bugprone-throw-keyword-missing - bugprone-too-small-loop-variable - bugprone-unchecked-optional-access - bugprone-undefined-memory-manipulation - bugprone-undelegated-constructor - bugprone-unhandled-exception-at-new - bugprone-unhandled-self-assignment - bugprone-unique-ptr-array-mismatch - bugprone-unsafe-functions - bugprone-unused-local-non-trivial-variable - bugprone-unused-raii - bugprone-unused-return-value - bugprone-use-after-move - bugprone-virtual-near-miss - clang-analyzer-apiModeling.Errno - clang-analyzer-apiModeling.TrustNonnull - clang-analyzer-apiModeling.TrustReturnsNonnull - clang-analyzer-apiModeling.google.GTest - clang-analyzer-apiModeling.llvm.CastValue - clang-analyzer-apiModeling.llvm.ReturnValue - clang-analyzer-core.BitwiseShift - clang-analyzer-core.CallAndMessage - clang-analyzer-core.CallAndMessageModeling - clang-analyzer-core.DivideZero - clang-analyzer-core.DynamicTypePropagation - clang-analyzer-core.NonNullParamChecker - clang-analyzer-core.NonnilStringConstants - clang-analyzer-core.NullDereference - clang-analyzer-core.StackAddrEscapeBase - clang-analyzer-core.StackAddressEscape - clang-analyzer-core.UndefinedBinaryOperatorResult - clang-analyzer-core.VLASize - clang-analyzer-core.builtin.BuiltinFunctions - clang-analyzer-core.builtin.NoReturnFunctions - clang-analyzer-core.uninitialized.ArraySubscript - clang-analyzer-core.uninitialized.Assign - clang-analyzer-core.uninitialized.Branch - clang-analyzer-core.uninitialized.CapturedBlockVariable - clang-analyzer-core.uninitialized.NewArraySize - clang-analyzer-core.uninitialized.UndefReturn - clang-analyzer-cplusplus.ArrayDelete - clang-analyzer-cplusplus.InnerPointer - clang-analyzer-cplusplus.Move - clang-analyzer-cplusplus.NewDelete - clang-analyzer-cplusplus.NewDeleteLeaks - clang-analyzer-cplusplus.PlacementNew - clang-analyzer-cplusplus.PureVirtualCall - clang-analyzer-cplusplus.SelfAssignment - clang-analyzer-cplusplus.SmartPtrModeling - clang-analyzer-cplusplus.StringChecker - clang-analyzer-cplusplus.VirtualCallModeling - clang-analyzer-deadcode.DeadStores - clang-analyzer-fuchsia.HandleChecker - clang-analyzer-nullability.NullPassedToNonnull - clang-analyzer-nullability.NullReturnedFromNonnull - clang-analyzer-nullability.NullabilityBase - clang-analyzer-nullability.NullableDereferenced - clang-analyzer-nullability.NullablePassedToNonnull - clang-analyzer-nullability.NullableReturnedFromNonnull - clang-analyzer-optin.cplusplus.UninitializedObject - clang-analyzer-optin.cplusplus.VirtualCall - clang-analyzer-optin.mpi.MPI-Checker - clang-analyzer-optin.osx.OSObjectCStyleCast - clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker - clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker - clang-analyzer-optin.performance.GCDAntipattern - clang-analyzer-optin.performance.Padding - clang-analyzer-optin.portability.UnixAPI - clang-analyzer-optin.taint.TaintedAlloc - clang-analyzer-osx.API - clang-analyzer-osx.MIG - clang-analyzer-osx.NSOrCFErrorDerefChecker - clang-analyzer-osx.NumberObjectConversion - clang-analyzer-osx.OSObjectRetainCount - clang-analyzer-osx.ObjCProperty - clang-analyzer-osx.SecKeychainAPI - clang-analyzer-osx.cocoa.AtSync - clang-analyzer-osx.cocoa.AutoreleaseWrite - clang-analyzer-osx.cocoa.ClassRelease - clang-analyzer-osx.cocoa.Dealloc - clang-analyzer-osx.cocoa.IncompatibleMethodTypes - clang-analyzer-osx.cocoa.Loops - clang-analyzer-osx.cocoa.MissingSuperCall - clang-analyzer-osx.cocoa.NSAutoreleasePool - clang-analyzer-osx.cocoa.NSError - clang-analyzer-osx.cocoa.NilArg - clang-analyzer-osx.cocoa.NonNilReturnValue - clang-analyzer-osx.cocoa.ObjCGenerics - clang-analyzer-osx.cocoa.RetainCount - clang-analyzer-osx.cocoa.RetainCountBase - clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak - clang-analyzer-osx.cocoa.SelfInit - clang-analyzer-osx.cocoa.SuperDealloc - clang-analyzer-osx.cocoa.UnusedIvars - clang-analyzer-osx.cocoa.VariadicMethodTypes - clang-analyzer-osx.coreFoundation.CFError - clang-analyzer-osx.coreFoundation.CFNumber - clang-analyzer-osx.coreFoundation.CFRetainRelease - clang-analyzer-osx.coreFoundation.containers.OutOfBounds - clang-analyzer-osx.coreFoundation.containers.PointerSizedValues - clang-analyzer-security.FloatLoopCounter - clang-analyzer-security.PutenvStackArray - clang-analyzer-security.SetgidSetuidOrder - clang-analyzer-security.cert.env.InvalidPtr - clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling - clang-analyzer-security.insecureAPI.SecuritySyntaxChecker - clang-analyzer-security.insecureAPI.UncheckedReturn - clang-analyzer-security.insecureAPI.bcmp - clang-analyzer-security.insecureAPI.bcopy - clang-analyzer-security.insecureAPI.bzero - clang-analyzer-security.insecureAPI.decodeValueOfObjCType - clang-analyzer-security.insecureAPI.getpw - clang-analyzer-security.insecureAPI.gets - clang-analyzer-security.insecureAPI.mkstemp - clang-analyzer-security.insecureAPI.mktemp - clang-analyzer-security.insecureAPI.rand - clang-analyzer-security.insecureAPI.strcpy - clang-analyzer-security.insecureAPI.vfork - clang-analyzer-unix.API - clang-analyzer-unix.BlockInCriticalSection - clang-analyzer-unix.DynamicMemoryModeling - clang-analyzer-unix.Errno - clang-analyzer-unix.Malloc - clang-analyzer-unix.MallocSizeof - clang-analyzer-unix.MismatchedDeallocator - clang-analyzer-unix.StdCLibraryFunctions - clang-analyzer-unix.Stream - clang-analyzer-unix.Vfork - clang-analyzer-unix.cstring.BadSizeArg - clang-analyzer-unix.cstring.CStringModeling - clang-analyzer-unix.cstring.NullArg - clang-analyzer-valist.CopyToSelf - clang-analyzer-valist.Uninitialized - clang-analyzer-valist.Unterminated - clang-analyzer-valist.ValistBase - clang-analyzer-webkit.NoUncountedMemberChecker - clang-analyzer-webkit.RefCntblBaseVirtualDtor - clang-analyzer-webkit.UncountedLambdaCapturesChecker - cppcoreguidelines-avoid-c-arrays - cppcoreguidelines-avoid-capturing-lambda-coroutines - cppcoreguidelines-avoid-const-or-ref-data-members - cppcoreguidelines-avoid-goto - cppcoreguidelines-avoid-reference-coroutine-parameters - cppcoreguidelines-c-copy-assignment-signature - cppcoreguidelines-explicit-virtual-functions - cppcoreguidelines-interfaces-global-init - cppcoreguidelines-misleading-capture-default-by-value - cppcoreguidelines-missing-std-forward - cppcoreguidelines-narrowing-conversions - cppcoreguidelines-no-malloc - cppcoreguidelines-no-suspend-with-lock - cppcoreguidelines-noexcept-destructor - cppcoreguidelines-noexcept-move-operations - cppcoreguidelines-noexcept-swap - cppcoreguidelines-non-private-member-variables-in-classes - cppcoreguidelines-owning-memory - cppcoreguidelines-prefer-member-initializer - cppcoreguidelines-pro-bounds-array-to-pointer-decay - cppcoreguidelines-pro-bounds-constant-array-index - cppcoreguidelines-pro-type-const-cast - cppcoreguidelines-pro-type-cstyle-cast - cppcoreguidelines-pro-type-member-init - cppcoreguidelines-pro-type-reinterpret-cast - cppcoreguidelines-pro-type-static-cast-downcast - cppcoreguidelines-pro-type-union-access - cppcoreguidelines-pro-type-vararg - cppcoreguidelines-rvalue-reference-param-not-moved - cppcoreguidelines-slicing - cppcoreguidelines-special-member-functions - cppcoreguidelines-use-default-member-init - cppcoreguidelines-virtual-class-destructor - hicpp-avoid-c-arrays - hicpp-avoid-goto - hicpp-deprecated-headers - hicpp-exception-baseclass - hicpp-explicit-conversions - hicpp-function-size - hicpp-ignored-remove-result - hicpp-invalid-access-moved - hicpp-member-init - hicpp-move-const-arg - hicpp-multiway-paths-covered - hicpp-new-delete-operators - hicpp-no-array-decay - hicpp-no-assembler - hicpp-no-malloc - hicpp-noexcept-move - hicpp-special-member-functions - hicpp-static-assert - hicpp-undelegated-constructor - hicpp-use-auto - hicpp-use-emplace - hicpp-use-equals-default - hicpp-use-equals-delete - hicpp-use-noexcept - hicpp-use-nullptr - hicpp-use-override - hicpp-vararg - misc-coroutine-hostile-raii - misc-definitions-in-headers - misc-header-include-cycle - misc-misleading-bidirectional - misc-misleading-identifier - misc-misplaced-const - misc-new-delete-overloads - misc-no-recursion - misc-non-copyable-objects - misc-redundant-expression - misc-static-assert - misc-throw-by-value-catch-by-reference - misc-unconventional-assign-operator - misc-uniqueptr-reset-release - misc-unused-alias-decls - misc-unused-parameters - misc-unused-using-decls - misc-use-anonymous-namespace - modernize-avoid-bind - modernize-avoid-c-arrays - modernize-concat-nested-namespaces - modernize-deprecated-headers - modernize-deprecated-ios-base-aliases - modernize-loop-convert - modernize-make-shared - modernize-make-unique - modernize-min-max-use-initializer-list - modernize-pass-by-value - modernize-raw-string-literal - modernize-redundant-void-arg - modernize-replace-auto-ptr - modernize-replace-disallow-copy-and-assign-macro - modernize-replace-random-shuffle - modernize-return-braced-init-list - modernize-shrink-to-fit - modernize-type-traits - modernize-unary-static-assert - modernize-use-auto - modernize-use-bool-literals - modernize-use-constraints - modernize-use-default-member-init - modernize-use-designated-initializers - modernize-use-emplace - modernize-use-equals-default - modernize-use-equals-delete - modernize-use-nodiscard - modernize-use-noexcept - modernize-use-nullptr - modernize-use-override - modernize-use-ranges - modernize-use-starts-ends-with - modernize-use-std-format - modernize-use-std-print - modernize-use-transparent-functors - modernize-use-uncaught-exceptions - modernize-use-using - performance-enum-size - performance-faster-string-find - performance-for-range-copy - performance-implicit-conversion-in-loop - performance-inefficient-algorithm - performance-inefficient-string-concatenation - performance-inefficient-vector-operation - performance-move-const-arg - performance-move-constructor-init - performance-no-automatic-move - performance-no-int-to-ptr - performance-noexcept-destructor - performance-noexcept-move-constructor - performance-noexcept-swap - performance-trivially-destructible - performance-type-promotion-in-math-fn - performance-unnecessary-copy-initialization - performance-unnecessary-value-param - -Running clang-tidy for 1170 files out of 1170 in compilation database ... -[ 1/1170][8.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/nbmantissabits.cpp -45057 warnings generated. -Suppressed 45059 warnings (45057 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 2/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.cxx -/Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/simd/arm/neon/shr.hpp:19:12: error: use of undeclared identifier 'shl'; did you mean 'shr'? [clang-diagnostic-error] - 19 | return shl.behavior(as>{}, current_api, opts, w, -s); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/core/regular/shr.hpp:94:25: note: 'shr' declared here - 94 | inline constexpr auto shr = functor; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/simd/arm/neon/shr.hpp:26:12: error: use of undeclared identifier 'shl'; did you mean 'shr'? [clang-diagnostic-error] - 26 | return shl.behavior(as>{}, current_api, opts, w, -s); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/core/regular/shr.hpp:94:25: note: 'shr' declared here - 94 | inline constexpr auto shr = functor; - | ^ -55642 warnings and 2 errors generated. -Error while processing /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.cxx. -Suppressed 55678 warnings (55642 in non-user code, 36 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. -Found compiler error(s). - -[ 3/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acotpi.cpp -45654 warnings generated. -Suppressed 45656 warnings (45654 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 4/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atand.cpp -45954 warnings generated. -Suppressed 45956 warnings (45954 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 5/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ceil.cpp -46579 warnings generated. -Suppressed 46581 warnings (46579 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 6/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/agd.cpp -46837 warnings generated. -Suppressed 46839 warnings (46837 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 7/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fmod.cpp -46225 warnings generated. -Suppressed 46227 warnings (46225 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 8/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinhcosh.cpp -46560 warnings generated. -Suppressed 46562 warnings (46560 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 9/1170][15.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_64x1.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:37:41: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 37 | eve::element_type_t actual = shuffled_a[out_i++]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:42:25: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 42 | else expected = x_a[group_i * G + within_i]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -54098 warnings generated. -Suppressed 53580 warnings (53578 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 10/1170][19.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration_fixed_overflow.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'algo_test::test_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'algo_test::test_delegate>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration_fixed_overflow.hpp:91:11: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 91 | std::array arr; - | ^ - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:92:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 92 | if (is_always_aligned[i]) { continue; } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:97:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 97 | if (is_aligned[i]) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iteration_test.hpp:13:3: warning: constructor does not initialize these fields: data [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 13 | iteration_fixture() - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/iteration_test.hpp:25:49: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 25 | auto aligned_end() { return aligned_begin() + data.size(); } - | ^ -52466 warnings generated. -Suppressed 52055 warnings (52053 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 11/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/min.cpp -46160 warnings generated. -Suppressed 46162 warnings (46160 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 12/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/reverse.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:92:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 92 | if (is_always_aligned[i]) { continue; } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:97:13: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 97 | if (is_aligned[i]) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46721 warnings generated. -Suppressed 46285 warnings (46283 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 13/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acsch.cpp -46053 warnings generated. -Suppressed 46055 warnings (46053 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 14/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/struct_support.cpp -45262 warnings generated. -Suppressed 45264 warnings (45262 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 15/1170][46.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_adjacent.cpp -53931 warnings generated. -Suppressed 53933 warnings (53931 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 16/1170][31.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_denormal.cpp -52036 warnings generated. -Suppressed 52038 warnings (52036 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 17/1170][46.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_unset.cpp -54272 warnings generated. -Suppressed 54274 warnings (54272 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 18/1170][36.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_pi.cpp -53130 warnings generated. -Suppressed 53132 warnings (53130 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 19/1170][44.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog2.cpp -54604 warnings generated. -Suppressed 54606 warnings (54604 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 20/1170][57.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/zip.cpp -52050 warnings generated. -Suppressed 52052 warnings (52050 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 21/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_uinteger.cpp -51199 warnings generated. -Suppressed 51201 warnings (51199 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 22/1170][58.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asind.cpp -53329 warnings generated. -Suppressed 53331 warnings (53329 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 23/1170][51.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog10.cpp -55307 warnings generated. -Suppressed 55309 warnings (55307 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 24/1170][74.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_swap_pairs.cpp -56671 warnings generated. -Suppressed 56673 warnings (56671 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 25/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cos_1.cpp -53130 warnings generated. -Suppressed 53132 warnings (53130 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 26/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/div_180.cpp -45493 warnings generated. -Suppressed 45495 warnings (45493 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 27/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/reldist.cpp -45968 warnings generated. -Suppressed 45970 warnings (45968 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 28/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rec.cpp -47449 warnings generated. -Suppressed 47451 warnings (47449 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 29/1170][95.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/zeta.cpp -57313 warnings generated. -Suppressed 57315 warnings (57313 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 30/1170][71.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2pi.cpp -54066 warnings generated. -Suppressed 54068 warnings (54066 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 31/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/simplify_plain_shuffle.cpp -51823 warnings generated. -Suppressed 51825 warnings (51823 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 32/1170][89.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint16.cpp -53597 warnings generated. -Suppressed 53599 warnings (53597 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 33/1170][106.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/swap_adjacent.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:37:41: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 37 | eve::element_type_t actual = shuffled_a[out_i++]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:42:25: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 42 | else expected = x_a[group_i * G + within_i]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -59843 warnings generated. -Suppressed 59207 warnings (59205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 34/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46839 warnings generated. -Suppressed 46833 warnings (46831 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 35/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpic.cpp -46448 warnings generated. -Suppressed 46450 warnings (46448 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 36/1170][79.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lohi.cpp -54032 warnings generated. -Suppressed 54034 warnings (54032 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 37/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_logical.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:194:7: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 194 | res[i] = m; - | ^ -55906 warnings generated. -Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 38/1170][43.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_pi.cpp -53128 warnings generated. -Suppressed 53130 warnings (53128 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 39/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/fill.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46061 warnings generated. -Suppressed 45678 warnings (45676 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 40/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp:35:19: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 35 | const auto* s = reinterpret_cast(s_); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/strlen__showing_basic_conepts.cpp:117:7: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 117 | std::size_t expected = static_cast(l - it); - | ^~~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51288 warnings generated. -Suppressed 51202 warnings (51200 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 41/1170][109.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_lessgreater.cpp -59327 warnings generated. -Suppressed 59329 warnings (59327 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 42/1170][73.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sech.cpp -54364 warnings generated. -Suppressed 54366 warnings (54364 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 43/1170][91.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acos.cpp -53734 warnings generated. -Suppressed 53736 warnings (53734 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 44/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mzero.cpp -44991 warnings generated. -Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 45/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rf.cpp -46383 warnings generated. -Suppressed 46385 warnings (46383 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 46/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_finite.cpp -46207 warnings generated. -Suppressed 46209 warnings (46207 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 47/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/popcount.cpp -45339 warnings generated. -Suppressed 45341 warnings (45339 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 48/1170][127.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_kn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -57921 warnings generated. -Suppressed 57916 warnings (57914 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 49/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/product_type.cpp -51680 warnings generated. -Suppressed 51682 warnings (51680 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 50/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/reverse.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51081 warnings generated. -Suppressed 51018 warnings (51016 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 51/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/as_value.cpp -/Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/as_value.cpp:29:25: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 29 | udt::grid2d expected{0, 0}; - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -51139 warnings generated. -Suppressed 51140 warnings (51138 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 52/1170][110.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_even.cpp -58569 warnings generated. -Suppressed 58571 warnings (58569 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 53/1170][59.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_wide.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:24:3: warning: uninitialized record type: 'x' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 24 | eve::stack_buffer x; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:32:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 32 | std::array, T::size()> r; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:47:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 47 | std::array, T::size()> r; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15: warning: function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' is within a recursive call chain [misc-no-recursion] - 121 | auto test = [&](auto& self, std::size_t i) mutable { - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15: note: example recursive call chain, starting from function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:126:5: note: Frame #1: function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' calls function 'operator()<(lambda at /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:121:15)>' here: - 126 | self(self, i + 1); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:126:5: note: ... which was the starting point of the recursive call chain; there may be other cycles -57944 warnings generated. -Suppressed 56619 warnings (56617 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 54/1170][115.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_minf.cpp -57427 warnings generated. -Suppressed 57429 warnings (57427 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 55/1170][26.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nemz.cpp -52486 warnings generated. -Suppressed 52488 warnings (52486 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 56/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maximum.cpp -45992 warnings generated. -Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 57/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpi.cpp -46193 warnings generated. -Suppressed 46195 warnings (46193 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 58/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_notand.cpp -45887 warnings generated. -Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 59/1170][102.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log.cpp -53897 warnings generated. -Suppressed 53899 warnings (53897 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 60/1170][43.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countl_zero.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/countl_zero.cpp:37:19: warning: loop variable has narrower type 'v_t' than iteration's upper bound 'unsigned long' [bugprone-too-small-loop-variable] - 37 | for( v_t i = 0; i < sizeof(v_t) * 8 - 1; ++i ) - | ^ -53741 warnings generated. -Suppressed 53732 warnings (53730 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 61/1170][26.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_flint.cpp -53015 warnings generated. -Suppressed 53017 warnings (53015 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 62/1170][118.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_logical.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:194:7: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 194 | res[i] = m; - | ^ -55906 warnings generated. -Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 63/1170][83.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acoth.cpp -53823 warnings generated. -Suppressed 53825 warnings (53823 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 64/1170][9.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/reverse_conditional.cpp -44947 warnings generated. -Suppressed 44949 warnings (44947 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 65/1170][26.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_normal.cpp -52583 warnings generated. -Suppressed 52585 warnings (52583 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 66/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_pio_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 67/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan.cpp -45848 warnings generated. -Suppressed 45850 warnings (45848 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 68/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/try_each_group_position.cpp -45178 warnings generated. -Suppressed 45180 warnings (45178 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 69/1170][137.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/gamma_p_inv.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -69725 warnings generated. -Suppressed 69720 warnings (69718 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 70/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log2.cpp -45990 warnings generated. -Suppressed 45992 warnings (45990 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 71/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_odd.cpp -46380 warnings generated. -Suppressed 46382 warnings (46380 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 72/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lbeta.cpp -46364 warnings generated. -Suppressed 46366 warnings (46364 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 73/1170][17.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sincos.cpp -48208 warnings generated. -Suppressed 48210 warnings (48208 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 74/1170][23.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/oop/data_driven_physics.cpp -/Users/sadiinso/unsync/eve/examples/display.hpp:26:42: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 26 | for(std::size_t i=1;i, float, float, float, int>::member0_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 134 | , std::max(1, render_size - static_cast(resolution*position(balls.get(i)))) - | ^ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, ball>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, ball>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -55820 warnings generated. -Suppressed 55029 warnings (55027 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 75/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2d.cpp -53895 warnings generated. -Suppressed 53897 warnings (53895 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 76/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/jacobi.cpp -47438 warnings generated. -Suppressed 47440 warnings (47438 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 77/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/value.cpp -51199 warnings generated. -Suppressed 51201 warnings (51199 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 78/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lerp.cpp -45765 warnings generated. -Suppressed 45767 warnings (45765 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 79/1170][55.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/start_here.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/start_here.cpp:22:56)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>>>, eve::algo::views::reverse_iterator>, eve::algo::ptr_iterator>>>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -58215 warnings generated. -Suppressed 57343 warnings (57341 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 80/1170][127.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/shr.cpp -58481 warnings generated. -Suppressed 58483 warnings (58481 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 81/1170][138.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/nextafter.cpp -58506 warnings generated. -Suppressed 58508 warnings (58506 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 82/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:39:3: warning: uninitialized record type: 'ref0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 39 | std::array ref0; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:40:3: warning: uninitialized record type: 'ref1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 40 | std::array ref1; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:41:3: warning: uninitialized record type: 'ref2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 41 | std::array ref2; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:46:15: warning: either cast from 'int' to 'long long' is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] - 46 | ref1[i] = static_cast(i + 1); - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:46:15: warning: either cast from 'int' to 'unsigned long long' is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:53:17: warning: uninitialized record type: 'ctarget0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 53 | alignas(alg0) std::array target0, ctarget0; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:53:17: warning: uninitialized record type: 'target0' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 53 | alignas(alg0) std::array target0, ctarget0; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:54:17: warning: uninitialized record type: 'ctarget1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 54 | std::array target1, ctarget1; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:54:17: warning: uninitialized record type: 'target1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 54 | std::array target1, ctarget1; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:55:17: warning: uninitialized record type: 'ctarget2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 55 | alignas(alg2) std::array target2, ctarget2; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/tuple.cpp:55:17: warning: uninitialized record type: 'target2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 55 | alignas(alg2) std::array target2, ctarget2; - | ^ - | {} -53395 warnings generated. -Suppressed 53215 warnings (53213 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 83/1170][335.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/mul.cpp -64532 warnings generated. -Suppressed 64534 warnings (64532 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 84/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/unalign.cpp -51133 warnings generated. -Suppressed 51135 warnings (51133 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 85/1170][88.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rshr.cpp -56901 warnings generated. -Suppressed 56903 warnings (56901 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 86/1170][102.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/clamp.cpp -57056 warnings generated. -Suppressed 57058 warnings (57056 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 87/1170][35.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/slide_right.cpp -51978 warnings generated. -Suppressed 51980 warnings (51978 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 88/1170][193.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/any.cpp -53971 warnings generated. -Suppressed 53973 warnings (53971 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 89/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/logeps.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 90/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/value_type.cpp -/Users/sadiinso/unsync/eve/test/unit/meta/traits/value_type.cpp:24:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 24 | [[maybe_unused]] int x[5]; - | ^ -51150 warnings generated. -Suppressed 51149 warnings (51147 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 91/1170][314.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:28:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 28 | std::array, 3 * T::size()> ref; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:33:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 33 | ref[ i ] = 1 + i; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:34:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 34 | ref[ i + T::size() ] = 1 + i; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:35:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 35 | ref[ i + 2*T::size()] = 1 + i; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:37:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 37 | logical_ref[ i ] = ((1+i) % 2) == 0; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:38:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 38 | logical_ref[ i + T::size() ] = ((1+i) % 2) == 0; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:39:5: warning: do not use array subscript when the index is not an integer constant expression [cppcoreguidelines-pro-bounds-constant-array-index] - 39 | logical_ref[ i + 2*T::size()] = ((1+i) % 2) == 0; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:42:17: warning: uninitialized record type: 'target' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 42 | alignas(algt) std::array, 3 * T::size()> target; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/aligned.cpp:66:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 66 | std::array, 256> ref; - | ^ - | {} -59233 warnings generated. -Suppressed 58719 warnings (58717 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 92/1170][87.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acscd.cpp -53386 warnings generated. -Suppressed 53388 warnings (53386 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 93/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponentm1.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 94/1170][21.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logeps.cpp -51507 warnings generated. -Suppressed 51509 warnings (51507 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 95/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cotd.cpp -46323 warnings generated. -Suppressed 46325 warnings (46323 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 96/1170][22.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/horn1.cpp -51681 warnings generated. -Suppressed 51683 warnings (51681 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 97/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expm1.cpp -45881 warnings generated. -Suppressed 45883 warnings (45881 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 98/1170][176.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int8.cpp -53476 warnings generated. -Suppressed 53478 warnings (53476 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 99/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/omega.cpp -46822 warnings generated. -Suppressed 46824 warnings (46822 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 100/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/significants.cpp -47038 warnings generated. -Suppressed 47040 warnings (47038 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 101/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfcx.cpp -46511 warnings generated. -Suppressed 46513 warnings (46511 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 102/1170][31.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/max_element_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 64 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 70 | *it = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 72 | *it = filler; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 78 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 79 | if( l != page_end ) *l = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -56381 warnings generated. -Suppressed 54948 warnings (54946 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 103/1170][396.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/rotate.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/rotate.cpp:16:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 16 | std::array, T::size()> buf; - | ^ - | {} -59261 warnings generated. -Suppressed 59177 warnings (59175 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 104/1170][20.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53626 warnings generated. -Suppressed 53198 warnings (53196 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 105/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_reverse.cpp -45639 warnings generated. -Suppressed 45641 warnings (45639 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 106/1170][105.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/csc.cpp -55671 warnings generated. -Suppressed 55673 warnings (55671 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 107/1170][94.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acsch.cpp -54174 warnings generated. -Suppressed 54176 warnings (54174 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 108/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/array_utils.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -52142 warnings generated. -Suppressed 51773 warnings (51771 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 109/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erf_inv.cpp -46884 warnings generated. -Suppressed 46886 warnings (46884 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 110/1170][109.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_tuple.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -58624 warnings generated. -Suppressed 57240 warnings (57238 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 111/1170][157.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_shl.cpp -58499 warnings generated. -Suppressed 58501 warnings (58499 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 112/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46782 warnings generated. -Suppressed 46776 warnings (46774 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 113/1170][44.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_10.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 114/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -47303 warnings generated. -Suppressed 47297 warnings (47295 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 115/1170][108.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/betainc.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -57082 warnings generated. -Suppressed 57077 warnings (57075 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 116/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/interacting_with_native.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52415 warnings generated. -Suppressed 51971 warnings (51969 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 117/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:33:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | std::array ints; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:34:14: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 34 | alignas(8) std::array shorts; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:75:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 75 | std::array ints; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:76:14: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | alignas(8) std::array shorts; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:100:3: warning: uninitialized record type: 'ints' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 100 | std::array ints; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/soa_ptr.cpp:101:3: warning: uninitialized record type: 'shorts' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 101 | std::array shorts; - | ^ - | {} -51192 warnings generated. -Suppressed 51182 warnings (51180 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 118/1170][281.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/lcm.cpp -58566 warnings generated. -Suppressed 58568 warnings (58566 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 119/1170][10.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive_else.cpp -45109 warnings generated. -Suppressed 45111 warnings (45109 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 120/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/firstbitset.cpp -45317 warnings generated. -Suppressed 45319 warnings (45317 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 121/1170][176.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swap_if.cpp -58280 warnings generated. -Suppressed 58282 warnings (58280 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 122/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ilogb.cpp -45862 warnings generated. -Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 123/1170][77.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/hypot.cpp -53882 warnings generated. -Suppressed 53884 warnings (53882 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 124/1170][8.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp:19:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 19 | std::array::size()-1> data; - | ^ - | {} -/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore_both.cpp:20:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 20 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; - | ^ -44996 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 125/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_j1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46867 warnings generated. -Suppressed 46861 warnings (46859 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 126/1170][15.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ulpdist.cpp -45944 warnings generated. -Suppressed 45946 warnings (45944 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 127/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/four_minus_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 128/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/frac.cpp -46648 warnings generated. -Suppressed 46650 warnings (46648 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 129/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_keep_if.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 38 | value_type base; - | - | {} - 39 | value_type step; - | - | {} - 40 | std::ptrdiff_t i; - | - | {} - 41 | wv_type wide_cur; - 42 | - 43 | iota_with_step_iterator() = default; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52319 warnings generated. -Suppressed 51842 warnings (51840 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 130/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/inc.cpp -47397 warnings generated. -Suppressed 47399 warnings (47397 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 131/1170][35.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lerp.cpp -52835 warnings generated. -Suppressed 52837 warnings (52835 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 132/1170][37.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 133/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/next.cpp -46237 warnings generated. -Suppressed 46239 warnings (46237 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 134/1170][221.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/comparisons.cpp -54518 warnings generated. -Suppressed 54520 warnings (54518 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 135/1170][246.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lfactorial.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -57305 warnings generated. -Suppressed 57300 warnings (57298 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 136/1170][19.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/gamma_p_inv.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -49095 warnings generated. -Suppressed 49094 warnings (49092 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 137/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/log_gamma.cpp -/Users/sadiinso/unsync/eve/test/doc/special/log_gamma.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); - | ^ -46405 warnings generated. -Suppressed 46406 warnings (46404 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 138/1170][271.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp:88:3: warning: uninitialized record type: 'expected_buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 88 | std::array expected_buf; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/core/simd_cast.cpp:89:3: warning: uninitialized record type: 'actual_buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 89 | std::array actual_buf; - | ^ - | {} -63561 warnings generated. -Suppressed 60811 warnings (60809 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 139/1170][116.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/interleave_shuffle.cpp -58476 warnings generated. -Suppressed 58478 warnings (58476 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 140/1170][29.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: warning: performing an implicit widening conversion to type 'unsigned long' of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 156 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: note: make conversion explicit to silence this warning - 30 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); - | ^~~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:156:37: note: perform multiplication in a wider type - 156 | constexpr std::ptrdiff_t job_size = 4096 * 16 / sizeof(T); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:158:11: warning: declaration uses identifier '_inclusive_scan_par_unseq', which is reserved in the global namespace [bugprone-reserved-identifier] - 158 | namespace _inclusive_scan_par_unseq - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | inclusive_scan_par_unseq -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:186:5: warning: use a ranges version of this algorithm [modernize-use-ranges] - 30 | std::transform(async_work.begin(), async_work.end(), res.begin(), - | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ - | std::ranges::transform async_work -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:234:45: warning: the parameter 'split' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 234 | auto split_to_ints = [](subranges_split_t split) { - | ^ - | const & -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_par_unseq.cpp:254:84: warning: the parameter 'expected' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 254 | auto test = [&](auto&& r, int group_count, int group_size, std::vector expected) - | ^ - | const & -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, float>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -53979 warnings generated. -Suppressed 53482 warnings (53480 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 141/1170][161.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_not_generic.cpp:20:33)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54734 warnings generated. -Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 142/1170][534.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/broadcast_group.cpp -59456 warnings generated. -Suppressed 59458 warnings (59456 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 143/1170][88.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/equal_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 23 | std::mt19937& gen; - | ^ -71920 warnings generated. -Suppressed 68381 warnings (68379 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 144/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse.cpp:96:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 96 | std::array> a; - | ^ - | {} -52766 warnings generated. -Suppressed 52333 warnings (52331 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 145/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_notand.cpp -45220 warnings generated. -Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 146/1170][58.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cbrt.cpp -54120 warnings generated. -Suppressed 54122 warnings (54120 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 147/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_swap_pairs.cpp -45497 warnings generated. -Suppressed 45499 warnings (45497 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 148/1170][113.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_notor.cpp -60329 warnings generated. -Suppressed 60331 warnings (60329 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 149/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_equal.cpp -46400 warnings generated. -Suppressed 46402 warnings (46400 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 150/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/oneosqrteps.cpp -45304 warnings generated. -Suppressed 45306 warnings (45304 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 151/1170][157.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_equal.cpp -61305 warnings generated. -Suppressed 61307 warnings (61305 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 152/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_unordered.cpp -46209 warnings generated. -Suppressed 46211 warnings (46209 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 153/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_less.cpp -46356 warnings generated. -Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 154/1170][202.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ceil.cpp -61286 warnings generated. -Suppressed 61288 warnings (61286 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 155/1170][216.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/deinterleave_groups.cpp -56031 warnings generated. -Suppressed 56033 warnings (56031 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 156/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_2.cpp -60827 warnings generated. -Suppressed 60829 warnings (60827 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 157/1170][77.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/collect_indexes__complicated_real_example.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 94 | Test test) - | ^ - | const & -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -58542 warnings generated. -Suppressed 57287 warnings (57285 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 158/1170][118.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_or.cpp -58007 warnings generated. -Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 159/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/range_ref.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -52240 warnings generated. -Suppressed 51858 warnings (51856 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 160/1170][125.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expx2.cpp -54386 warnings generated. -Suppressed 54388 warnings (54386 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 161/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_double.cpp -52936 warnings generated. -Suppressed 52938 warnings (52936 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 162/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/heaviside.cpp -45197 warnings generated. -Suppressed 45199 warnings (45197 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 163/1170][257.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/absmax.cpp -64505 warnings generated. -Suppressed 64507 warnings (64505 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 164/1170][9.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrteps.cpp -45304 warnings generated. -Suppressed 45306 warnings (45304 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 165/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/combine.cpp -45009 warnings generated. -Suppressed 45011 warnings (45009 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 166/1170][23.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/nth_prime.cpp -45371 warnings generated. -Suppressed 45373 warnings (45371 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 167/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/exponent.cpp -45494 warnings generated. -Suppressed 45496 warnings (45494 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 168/1170][134.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:22:7)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/all_of_generic.cpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -54037 warnings generated. -Suppressed 53043 warnings (53041 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 169/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/one.cpp -45102 warnings generated. -Suppressed 45104 warnings (45102 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 170/1170][159.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/wide.cpp -54963 warnings generated. -Suppressed 54965 warnings (54963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 171/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46844 warnings generated. -Suppressed 46838 warnings (46836 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 172/1170][352.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/replace.cpp -56526 warnings generated. -Suppressed 56528 warnings (56526 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 173/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_pow2.cpp -45384 warnings generated. -Suppressed 45386 warnings (45384 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 174/1170][93.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expm1.cpp -54363 warnings generated. -Suppressed 54365 warnings (54363 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 175/1170][42.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_4.cpp -52963 warnings generated. -Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 176/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/epsilon.cpp -53372 warnings generated. -Suppressed 53374 warnings (53372 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 177/1170][21.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/simd.cpp -51396 warnings generated. -Suppressed 51398 warnings (51396 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 178/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negatenz.cpp -46157 warnings generated. -Suppressed 46159 warnings (46157 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 179/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog10_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 180/1170][101.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_basic.cpp -55705 warnings generated. -Suppressed 55707 warnings (55705 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 181/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponent.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 182/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/of_class.cpp -45614 warnings generated. -Suppressed 45616 warnings (45614 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 183/1170][100.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_gez.cpp -57851 warnings generated. -Suppressed 57853 warnings (57851 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 184/1170][21.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/oneosqrteps.cpp -51514 warnings generated. -Suppressed 51516 warnings (51514 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 185/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/betainc_inv.cpp -46941 warnings generated. -Suppressed 46943 warnings (46941 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 186/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sigmoid.cpp -46127 warnings generated. -Suppressed 46129 warnings (46127 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 187/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/hermite.cpp -47499 warnings generated. -Suppressed 47501 warnings (47499 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 188/1170][202.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negate.cpp -57182 warnings generated. -Suppressed 57184 warnings (57182 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 189/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/popcount.cpp -53836 warnings generated. -Suppressed 53838 warnings (53836 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 190/1170][209.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_reverse_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::reverse_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_reverse_generic.cpp:19:76: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -54525 warnings generated. -Suppressed 53488 warnings (53486 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 191/1170][24.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:25:9) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:41:76) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:25:9) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/for_each_selected_special_cases.cpp:41:76) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -52792 warnings generated. -Suppressed 52341 warnings (52339 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 192/1170][802.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ternary.cpp -54794 warnings generated. -Suppressed 54796 warnings (54794 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 193/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asecpi.cpp -46280 warnings generated. -Suppressed 46282 warnings (46280 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 194/1170][126.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/shl.cpp -57865 warnings generated. -Suppressed 57867 warnings (57865 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 195/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acosd.cpp -46127 warnings generated. -Suppressed 46129 warnings (46127 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 196/1170][178.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negabsmax.cpp -59384 warnings generated. -Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 197/1170][297.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/nth_prime.cpp -53583 warnings generated. -Suppressed 53585 warnings (53583 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 198/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/min.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/doc/algo/min.cpp:15:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 15 | << *eve::algo::min_value(v) << "\n"; - | ^ -/Users/sadiinso/unsync/eve/test/doc/algo/min.cpp:21:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 21 | << *eve::algo::min_value(v, eve::is_greater) << "\n"; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52843 warnings generated. -Suppressed 52340 warnings (52338 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 199/1170][44.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_infinite.cpp -52570 warnings generated. -Suppressed 52572 warnings (52570 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 200/1170][90.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rotl.cpp -56351 warnings generated. -Suppressed 56353 warnings (56351 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 201/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfc_inv.cpp -/Users/sadiinso/unsync/eve/test/doc/special/erfc_inv.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); - | ^ -46028 warnings generated. -Suppressed 46029 warnings (46027 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 202/1170][25.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/write.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -51591 warnings generated. -Suppressed 51556 warnings (51554 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 203/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_cast.cpp -45254 warnings generated. -Suppressed 45256 warnings (45254 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 204/1170][158.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_less.cpp -59704 warnings generated. -Suppressed 59706 warnings (59704 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 205/1170][88.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_1.cpp -60885 warnings generated. -Suppressed 60887 warnings (60885 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 206/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expmx2.cpp -46197 warnings generated. -Suppressed 46199 warnings (46197 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 207/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erf.cpp -46560 warnings generated. -Suppressed 46562 warnings (46560 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 208/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_integer.cpp -51105 warnings generated. -Suppressed 51107 warnings (51105 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 209/1170][16.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/gegenbauer.cpp -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, eve::wide>>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), double, double>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, double, double>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, double, double>' calls function 'operator(), double, double>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), double, double>' calls function 'behavior>, eve::options>>, eve::wide, double, double, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, double, double, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const double &, const double &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_, double, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, double, double, eve::options>>>' calls function 'apply_over>, eve::wide, double, double>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 19 | gegenbauer_(EVE_REQUIRES(cpu_), O const&, I nn, U lambda, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] -47417 warnings generated. -Suppressed 47415 warnings (47413 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 210/1170][81.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/signgam.cpp -53048 warnings generated. -Suppressed 53050 warnings (53048 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 211/1170][8.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_object.cpp -45022 warnings generated. -Suppressed 45024 warnings (45022 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 212/1170][107.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/expmx2.cpp -54000 warnings generated. -Suppressed 54002 warnings (54000 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 213/1170][111.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log1p.cpp -53597 warnings generated. -Suppressed 53599 warnings (53597 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 214/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_gtz.cpp -46172 warnings generated. -Suppressed 46174 warnings (46172 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 215/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lentz_a.cpp -/Users/sadiinso/unsync/eve/test/doc/math/lentz_a.cpp:8:4: warning: use 'using' instead of 'typedef' [modernize-use-using] - 8 | typedef T result_type; - | ^~~~~~~~~~~~~~~~~~~~~ - | using result_type = T -45657 warnings generated. -Suppressed 45658 warnings (45656 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 216/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/betainc.cpp -46711 warnings generated. -Suppressed 46713 warnings (46711 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 217/1170][40.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/three_pio_4.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 218/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_unit.cpp -46232 warnings generated. -Suppressed 46234 warnings (46232 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 219/1170][127.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_infinite.cpp -57142 warnings generated. -Suppressed 57144 warnings (57142 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 220/1170][51.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/has_single_bit.cpp -53120 warnings generated. -Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 221/1170][145.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/compare_absolute.cpp -59368 warnings generated. -Suppressed 59370 warnings (59368 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 222/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mantissamask.cpp -44973 warnings generated. -Suppressed 44975 warnings (44973 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 223/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nemz.cpp -45868 warnings generated. -Suppressed 45870 warnings (45868 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 224/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sign.cpp -58089 warnings generated. -Suppressed 58091 warnings (58089 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 225/1170][273.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp:30:7: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 30 | std::array data, ref; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/interleave.cpp:30:7: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 30 | std::array data, ref; - | ^ - | {} -64550 warnings generated. -Suppressed 63348 warnings (63346 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 226/1170][124.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_xor.cpp -59511 warnings generated. -Suppressed 59513 warnings (59511 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 227/1170][512.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/iterate_selected.cpp -55404 warnings generated. -Suppressed 55406 warnings (55404 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 228/1170][107.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqz.cpp -57619 warnings generated. -Suppressed 57621 warnings (57619 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 229/1170][48.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countl_one.cpp -53782 warnings generated. -Suppressed 53784 warnings (53782 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 230/1170][247.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/div.cpp -66016 warnings generated. -Suppressed 66018 warnings (66016 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 231/1170][195.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 85 | int new_i = ( group_idx / 2 ) * (int)G + i % G; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: note: make conversion explicit to silence this warning - 9 | int new_i = ( group_idx / 2 ) * (int)G + i % G; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/deinterleave_groups_shuffle.cpp:85:21: note: perform multiplication in a wider type - 85 | int new_i = ( group_idx / 2 ) * (int)G + i % G; - | ^ ~~~~~~~~~~~~~ - | static_cast( ) -58209 warnings generated. -Suppressed 58210 warnings (58208 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 232/1170][29.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_if_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_last_generic_test.hpp:37:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54699 warnings generated. -Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 233/1170][182.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/blend.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -78740 warnings generated. -Suppressed 77408 warnings (77406 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 234/1170][17.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_jn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_jn.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -48232 warnings generated. -Suppressed 48223 warnings (48221 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 235/1170][78.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ifrexp.cpp -53612 warnings generated. -Suppressed 53614 warnings (53612 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 236/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/valmax.cpp -45050 warnings generated. -Suppressed 45052 warnings (45050 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 237/1170][104.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log2.cpp -53811 warnings generated. -Suppressed 53813 warnings (53811 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 238/1170][45.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_10.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 239/1170][95.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asec.cpp -53558 warnings generated. -Suppressed 53560 warnings (53558 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 240/1170][33.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lentz_a.cpp -/Users/sadiinso/unsync/eve/test/unit/module/math/lentz_a.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 15 | obj_const_fraction(U v) : z(v){}; - | ^ - | explicit -52428 warnings generated. -Suppressed 52429 warnings (52427 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 241/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/true_.cpp -45040 warnings generated. -Suppressed 45042 warnings (45040 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 242/1170][212.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int64.cpp -53891 warnings generated. -Suppressed 53893 warnings (53891 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 243/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cscpi.cpp -/Users/sadiinso/unsync/eve/test/unit/module/math/cscpi.cpp:48:12: warning: narrowing conversion from 'double' to 'bool' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 48 | return d ? 1.0 / d : eve::nan(eve::as(e)); - | ^ -54277 warnings generated. -Suppressed 54277 warnings (54275 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 244/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/max.cpp -46051 warnings generated. -Suppressed 46053 warnings (46051 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 245/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_reverse.cpp -45489 warnings generated. -Suppressed 45491 warnings (45489 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 246/1170][121.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_pinf.cpp -57122 warnings generated. -Suppressed 57124 warnings (57122 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 247/1170][174.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_equal.cpp -61019 warnings generated. -Suppressed 61021 warnings (61019 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 248/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/iota.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::iota_with_step_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::iota_with_step_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 38 | value_type base; - | - | {} - 39 | value_type step; - | - | {} - 40 | std::ptrdiff_t i; - | - | {} - 41 | wv_type wide_cur; - 42 | - 43 | iota_with_step_iterator() = default; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -53323 warnings generated. -Suppressed 52796 warnings (52794 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 249/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_swap_pairs.cpp -45090 warnings generated. -Suppressed 45092 warnings (45090 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 250/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/trunc.cpp -46473 warnings generated. -Suppressed 46475 warnings (46473 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 251/1170][119.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/omega.cpp -55983 warnings generated. -Suppressed 55985 warnings (55983 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 252/1170][332.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/prev.cpp -59482 warnings generated. -Suppressed 59484 warnings (59482 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 253/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/broadcast_lane.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51047 warnings generated. -Suppressed 50984 warnings (50982 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 254/1170][202.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_shr.cpp -58717 warnings generated. -Suppressed 58719 warnings (58717 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 255/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/gcd.cpp -/Users/sadiinso/unsync/eve/test/doc/combinatorial/gcd.cpp:5:59: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->float{ return (i-c/2);}); - | ^ -46250 warnings generated. -Suppressed 46251 warnings (46249 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 256/1170][273.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_tuple.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -66124 warnings generated. -Suppressed 63288 warnings (63286 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 257/1170][30.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/abel.cpp -53325 warnings generated. -Suppressed 53327 warnings (53325 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 258/1170][86.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_i0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -55532 warnings generated. -Suppressed 55527 warnings (55525 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 259/1170][289.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp -/Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp:75:14: warning: either cast from 'int' to 'e_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] - 75 | x.set(i, (e_t)(i + 1)); - | ^ -/Users/sadiinso/unsync/eve/test/unit/arch/new_arch_first_tests.cpp:75:14: warning: either cast from 'int' to 'e_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -54597 warnings generated. -Suppressed 54593 warnings (54591 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 260/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lambert.cpp -46450 warnings generated. -Suppressed 46452 warnings (46450 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 261/1170][555.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_wide.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -63523 warnings generated. -Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 262/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asin.cpp -45705 warnings generated. -Suppressed 45707 warnings (45705 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 263/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy_backward.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52238 warnings generated. -Suppressed 51753 warnings (51751 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 264/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sech.cpp -46283 warnings generated. -Suppressed 46285 warnings (46283 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 265/1170][1011.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/swap_ranges_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -67662 warnings generated. -Suppressed 64938 warnings (64936 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 266/1170][10.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/broadcast.cpp -45085 warnings generated. -Suppressed 45087 warnings (45085 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 267/1170][34.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/deginrad.cpp -52175 warnings generated. -Suppressed 52177 warnings (52175 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 268/1170][231.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:17:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 17 | alignas(sizeof(T)) v_t data[T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:23:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 23 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:30:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 30 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:51:22: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 51 | alignas(sizeof(T)) v_t data[T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:57:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 57 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:65:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 65 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:87:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 87 | v_t data[T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:92:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 92 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:99:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 99 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:121:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 121 | v_t data[T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:126:36: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 126 | T ref([&](auto i, auto) { return data[maps.get(i)]; }); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/gather.cpp:133:51: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 133 | T mref([&](auto i, auto) { return mask.get(i) ? data[maps.get(i)] : v_t{0}; }); - | ^ -57643 warnings generated. -Suppressed 56085 warnings (56083 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 269/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_wide.cpp -51862 warnings generated. -Suppressed 51864 warnings (51862 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 270/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fnms.cpp -48080 warnings generated. -Suppressed 48082 warnings (48080 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 271/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dot.cpp -45509 warnings generated. -Suppressed 45511 warnings (45509 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 272/1170][40.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_denormal.cpp -51939 warnings generated. -Suppressed 51941 warnings (51939 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 273/1170][46.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_2.cpp -52963 warnings generated. -Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 274/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_copy_if.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 38 | value_type base; - | - | {} - 39 | value_type step; - | - | {} - 40 | std::ptrdiff_t i; - | - | {} - 41 | wv_type wide_cur; - 42 | - 43 | iota_with_step_iterator() = default; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52657 warnings generated. -Suppressed 52164 warnings (52162 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 275/1170][192.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int16.cpp -53602 warnings generated. -Suppressed 53604 warnings (53602 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 276/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_tuple.cpp -51571 warnings generated. -Suppressed 51573 warnings (51571 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 277/1170][50.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinhcosh.cpp -54626 warnings generated. -Suppressed 54628 warnings (54626 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 278/1170][84.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/geommean.cpp -57026 warnings generated. -Suppressed 57028 warnings (57026 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 279/1170][156.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lpnorm_2.cpp -57724 warnings generated. -Suppressed 57726 warnings (57724 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 280/1170][38.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_2.cpp -52966 warnings generated. -Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 281/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ordered.cpp -52564 warnings generated. -Suppressed 52566 warnings (52564 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 282/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/reverse_horner.cpp -45649 warnings generated. -Suppressed 45651 warnings (45649 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 283/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_finite.cpp -52479 warnings generated. -Suppressed 52481 warnings (52479 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 284/1170][118.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse_eve_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/reverse_eve_iterator.cpp:20:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 20 | alignas(sizeof(T)) std::array, T::size()> data; - | ^ - | {} -54784 warnings generated. -Suppressed 54037 warnings (54035 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 285/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_y1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -56550 warnings generated. -Suppressed 56545 warnings (56543 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 286/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/none_of.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/none_of.cpp:16:56)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51993 warnings generated. -Suppressed 51540 warnings (51538 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 287/1170][41.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rat.cpp -53498 warnings generated. -Suppressed 53500 warnings (53498 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 288/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqpz.cpp -45840 warnings generated. -Suppressed 45842 warnings (45840 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 289/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/if_else.cpp -45667 warnings generated. -Suppressed 45669 warnings (45667 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 290/1170][117.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_andnot.cpp -59958 warnings generated. -Suppressed 59960 warnings (59958 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 291/1170][38.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2o_16.cpp -52963 warnings generated. -Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 292/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ngez.cpp -46205 warnings generated. -Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 293/1170][39.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 294/1170][105.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acospi.cpp -53677 warnings generated. -Suppressed 53679 warnings (53677 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 295/1170][632.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_wide.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -66555 warnings generated. -Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 296/1170][88.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cotpi.cpp -54344 warnings generated. -Suppressed 54346 warnings (54344 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 297/1170][38.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/third.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 298/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/abel.cpp -47415 warnings generated. -Suppressed 47417 warnings (47415 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 299/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/inclusive_scan.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46390 warnings generated. -Suppressed 46002 warnings (46000 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 300/1170][151.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_less.cpp -59384 warnings generated. -Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 301/1170][56.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fmod.cpp -52996 warnings generated. -Suppressed 52998 warnings (52996 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 302/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/egamma_sqr.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 303/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi_pow_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 304/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asinh.cpp -46205 warnings generated. -Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 305/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_negative.cpp -46236 warnings generated. -Suppressed 46238 warnings (46236 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 306/1170][312.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/next.cpp -59354 warnings generated. -Suppressed 59356 warnings (59354 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 307/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/absmax.cpp -46199 warnings generated. -Suppressed 46201 warnings (46199 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 308/1170][93.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/to_logical.cpp -53928 warnings generated. -Suppressed 53930 warnings (53928 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 309/1170][41.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/native_simd_for_abi.cpp -51102 warnings generated. -Suppressed 51104 warnings (51102 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 310/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy_ai.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/airy_ai.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -48042 warnings generated. -Suppressed 48033 warnings (48031 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 311/1170][27.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_flint.cpp -52962 warnings generated. -Suppressed 52964 warnings (52962 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 312/1170][100.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sin.cpp -55388 warnings generated. -Suppressed 55390 warnings (55388 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 313/1170][53.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/hermite.cpp -/Users/sadiinso/unsync/eve/test/unit/module/polynomial/hermite.cpp:50:8: warning: declaration uses identifier 'eve__hermitev', which is a reserved identifier [bugprone-reserved-identifier] - 50 | auto eve__hermitev = [](auto n, auto x) { return eve::hermite(n, x); }; - | ^~~~~~~~~~~~~ - | eve_hermitev - 51 | for( unsigned int n = 0; n < 5; ++n ) - 52 | { - 53 | auto std_hermite = [&](auto i, auto) { return NAMESPACE::hermite(n, a0.get(i)); }; - 54 | TTS_ULP_EQUAL(eve__hermitev(n, a0), T(std_hermite), 16); - | ~~~~~~~~~~~~~ - | eve_hermitev - 55 | } - 56 | auto std_hermitev = [&](auto i, auto) { return NAMESPACE::hermite(i0.get(i), a0.get(i)); }; - 57 | TTS_ULP_EQUAL(eve__hermitev(i0, a0), T(std_hermitev), 16); - | ~~~~~~~~~~~~~ - | eve_hermitev - 58 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) - 59 | { - 60 | auto std_hermite2 = [&](auto i, auto) { return NAMESPACE::hermite(int(i0.get(i)), a0.get(j)); }; - 61 | TTS_ULP_EQUAL(eve__hermitev(i0, a0.get(j)), T(std_hermite2), 64); - | ~~~~~~~~~~~~~ - | eve_hermitev -55450 warnings generated. -Suppressed 55451 warnings (55449 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 314/1170][17.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/legendre.cpp -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] - 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' calls function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' here: - 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] - 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' calls function 'legendre_>, eve::wide>, eve::options, rbr::option>>>' here: - 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_>, eve::wide>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_>, eve::wide>, eve::options>>>' -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_>, eve::wide>, eve::options>>>' calls function 'legendre_>, eve::wide>, eve::options>>>' here: - 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: warning: function 'legendre_, eve::wide>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 32 | constexpr legendre_(EVE_REQUIRES(cpu_), O const& o, L l, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:32:13: note: example recursive call chain, starting from function 'legendre_, eve::wide>, eve::options>>>' -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: Frame #1: function 'legendre_, eve::wide>, eve::options>>>' calls function 'legendre_, eve::wide>, eve::options>>>' here: - 70 | return legendre_(EVE_TARGETS(cpu_), o, l, r_t(x)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/legendre.hpp:70:16: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -49046 warnings generated. -Suppressed 49041 warnings (49039 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 315/1170][99.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_k1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -55751 warnings generated. -Suppressed 55746 warnings (55744 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 316/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countr_one.cpp -45521 warnings generated. -Suppressed 45523 warnings (45521 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 317/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/significants.cpp -46730 warnings generated. -Suppressed 46732 warnings (46730 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 318/1170][17.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy_bi.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/airy_bi.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -48515 warnings generated. -Suppressed 48506 warnings (48504 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 319/1170][30.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_generic_two_pass.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, unsigned char>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, unsigned short>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 44 | *(l - 1) = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 49 | *it = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 51 | *it = filler; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 78 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 79 | if( l != page_end ) *l = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -55730 warnings generated. -Suppressed 54521 warnings (54519 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 320/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/shl.cpp -45232 warnings generated. -Suppressed 45234 warnings (45232 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 321/1170][246.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/gcd.cpp -57440 warnings generated. -Suppressed 57442 warnings (57440 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 322/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/slide_left.cpp -52077 warnings generated. -Suppressed 52079 warnings (52077 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 323/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fnma.cpp -48073 warnings generated. -Suppressed 48075 warnings (48073 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 324/1170][97.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/diff_of_prod.cpp -56026 warnings generated. -Suppressed 56028 warnings (56026 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 325/1170][558.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_wide.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -63523 warnings generated. -Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 326/1170][213.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fma.cpp -61302 warnings generated. -Suppressed 61304 warnings (61302 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 327/1170][53.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asin.cpp -53089 warnings generated. -Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 328/1170][98.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_mask.cpp -57269 warnings generated. -Suppressed 57271 warnings (57269 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 329/1170][441.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/try_each_group_position.cpp -62798 warnings generated. -Suppressed 62800 warnings (62798 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 330/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/stirling.cpp -46338 warnings generated. -Suppressed 46340 warnings (46338 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 331/1170][122.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minimum.cpp -56202 warnings generated. -Suppressed 56204 warnings (56202 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 332/1170][181.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/powm1.cpp -56443 warnings generated. -Suppressed 56445 warnings (56443 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 333/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log.cpp -45942 warnings generated. -Suppressed 45944 warnings (45942 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 334/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_minf.cpp -46170 warnings generated. -Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 335/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minabs.cpp -46200 warnings generated. -Suppressed 46202 warnings (46200 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 336/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ltz.cpp -46169 warnings generated. -Suppressed 46171 warnings (46169 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 337/1170][36.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 338/1170][102.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acosd.cpp -53676 warnings generated. -Suppressed 53678 warnings (53676 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 339/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_2.cpp -47521 warnings generated. -Suppressed 47523 warnings (47521 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 340/1170][20.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/prime_floor.cpp -45424 warnings generated. -Suppressed 45426 warnings (45424 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 341/1170][36.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/shuffle/slide_left.cpp -52027 warnings generated. -Suppressed 52029 warnings (52027 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 342/1170][21.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/scalar.cpp -51247 warnings generated. -Suppressed 51249 warnings (51247 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 343/1170][162.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 97 | int new_i = (group_idx / 2) * (int)G + i % G; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: note: make conversion explicit to silence this warning - 9 | int new_i = (group_idx / 2) * (int)G + i % G; - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/deinterleave_groups_shuffle.cpp:97:26: note: perform multiplication in a wider type - 97 | int new_i = (group_idx / 2) * (int)G + i % G; - | ^~~~~~~~~~~~~~ - | static_cast( ) -55368 warnings generated. -Suppressed 55369 warnings (55367 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 344/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/current_api.cpp -51103 warnings generated. -Suppressed 51105 warnings (51103 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 345/1170][42.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/try_each_group_position.cpp -52717 warnings generated. -Suppressed 52719 warnings (52717 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 346/1170][21.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, signed char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip.cpp:126:3: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 126 | std::array i; - | ^ - | {} -53178 warnings generated. -Suppressed 52693 warnings (52691 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 347/1170][181.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:18:49: warning: repeated branch body in conditional chain [bugprone-branch-clone] - 18 | if constexpr ( eve::current_api >= eve::sve ) return kumi::tuple{eve::index<0>}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:18:82: note: end of the original - 18 | if constexpr ( eve::current_api >= eve::sve ) return kumi::tuple{eve::index<0>}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/broadcast_lane.cpp:19:37: note: clone 1 starts here - 19 | else if constexpr ( NumIdxs == 1) return kumi::tuple{eve::index<0>}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -63891 warnings generated. -Suppressed 63082 warnings (63080 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 348/1170][66.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tanh.cpp -53544 warnings generated. -Suppressed 53546 warnings (53544 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 349/1170][306.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/absmin.cpp -65062 warnings generated. -Suppressed 65064 warnings (65062 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 350/1170][203.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shift.cpp -56377 warnings generated. -Suppressed 56379 warnings (56377 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 351/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/same_lanes_or_scalar.cpp -51161 warnings generated. -Suppressed 51163 warnings (51161 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 352/1170][13.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rj.cpp -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 29 | auto next_interval(F const & f, L notdone, L1 test, R& r, Ts ... ts) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 48 | auto last_interval(F const & f, L todo, R& r, Ts ... ts) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] - 98 | constexpr auto ellint_rj_(EVE_REQUIRES(cpu_), O const&, T x, T y, T z, T p) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 225 | auto br_pneg = [](auto xx, auto yy, auto zz, auto pp) // pp < 0 - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 259 | auto br_last = [](auto px, auto py, auto pz, auto pp) { return ellint_rj[raw](px, py, pz, pp); }; - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: - 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 40 | r = if_else(todo, f(ts...), r); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles -46599 warnings generated. -Suppressed 46588 warnings (46586 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 353/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/expx2.cpp -46061 warnings generated. -Suppressed 46063 warnings (46061 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 354/1170][73.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -64841 warnings generated. -Suppressed 62771 warnings (62769 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 355/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/byte_16_runtime_shuffle.cpp -51443 warnings generated. -Suppressed 51445 warnings (51443 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 356/1170][124.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lambert.cpp -58108 warnings generated. -Suppressed 58110 warnings (58108 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 357/1170][194.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_in.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -59376 warnings generated. -Suppressed 59371 warnings (59369 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 358/1170][34.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/constant.cpp -55298 warnings generated. -Suppressed 55300 warnings (55298 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 359/1170][117.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_d.cpp -60535 warnings generated. -Suppressed 60537 warnings (60535 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 360/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nepz.cpp -45844 warnings generated. -Suppressed 45846 warnings (45844 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 361/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/three_o_4.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 362/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi2o_6.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 363/1170][698.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/conditional.cpp -55873 warnings generated. -Suppressed 55875 warnings (55873 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 364/1170][30.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/remove.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::remove_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_and_remove_generic_test.hpp:27:15: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 27 | alignas(64) std::array data; - | ^ - | {} -54060 warnings generated. -Suppressed 53499 warnings (53497 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 365/1170][98.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log10.cpp -53775 warnings generated. -Suppressed 53777 warnings (53775 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 366/1170][63.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/conditional.cpp -52837 warnings generated. -Suppressed 52839 warnings (52837 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 367/1170][158.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/reverse_in_subgroups.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -61119 warnings generated. -Suppressed 60671 warnings (60669 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 368/1170][99.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/exp_int.cpp -61451 warnings generated. -Suppressed 61453 warnings (61451 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 369/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/logspace_add.cpp -46198 warnings generated. -Suppressed 46200 warnings (46198 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 370/1170][20.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-01.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/intro-01.cpp:60:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 60 | float data[] = {1.5f, 3, 4.5f, 6, 7.5f, 9, 10.5f, 12, 13.5, 15, 16.5, 18, 19.5, 21, 22.5, 24}; - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51795 warnings generated. -Suppressed 51719 warnings (51717 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 371/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/abs.cpp -46149 warnings generated. -Suppressed 46151 warnings (46149 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 372/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bitofsign.cpp -46080 warnings generated. -Suppressed 46082 warnings (46080 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 373/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nearest.cpp -46046 warnings generated. -Suppressed 46048 warnings (46046 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 374/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2.cpp -45958 warnings generated. -Suppressed 45960 warnings (45958 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 375/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow.cpp -46603 warnings generated. -Suppressed 46605 warnings (46603 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 376/1170][176.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint16.cpp -53746 warnings generated. -Suppressed 53748 warnings (53746 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 377/1170][47.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_flip.cpp -53986 warnings generated. -Suppressed 53988 warnings (53986 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 378/1170][49.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog.cpp -54563 warnings generated. -Suppressed 54565 warnings (54563 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 379/1170][37.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sinh_1.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 380/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sin_1.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 381/1170][88.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/inclusive_scan_to_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -68163 warnings generated. -Suppressed 66186 warnings (66184 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 382/1170][198.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/all.cpp -52778 warnings generated. -Suppressed 52780 warnings (52778 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 383/1170][28.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_r1_small_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54421 warnings generated. -Suppressed 53631 warnings (53629 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 384/1170][401.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/add.cpp -68233 warnings generated. -Suppressed 68235 warnings (68233 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 385/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ldexp.cpp -46052 warnings generated. -Suppressed 46054 warnings (46052 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 386/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/half.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 387/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/secpi.cpp -46371 warnings generated. -Suppressed 46373 warnings (46371 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 388/1170][38.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_6.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 389/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_notor.cpp -45224 warnings generated. -Suppressed 45226 warnings (45224 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 390/1170][135.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/none.cpp -52732 warnings generated. -Suppressed 52734 warnings (52732 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 391/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_less_equal.cpp -46356 warnings generated. -Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 392/1170][118.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_notor.cpp -58007 warnings generated. -Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 393/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/ieee_constant.cpp -45262 warnings generated. -Suppressed 45264 warnings (45262 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 394/1170][127.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ldexp.cpp -54555 warnings generated. -Suppressed 54557 warnings (54555 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 395/1170][96.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/csch.cpp -54604 warnings generated. -Suppressed 54606 warnings (54604 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 396/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acospi.cpp -46128 warnings generated. -Suppressed 46130 warnings (46128 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 397/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rat.cpp -46188 warnings generated. -Suppressed 46190 warnings (46188 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 398/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/reduce.cpp -45412 warnings generated. -Suppressed 45414 warnings (45412 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 399/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dist.cpp -46481 warnings generated. -Suppressed 46483 warnings (46481 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 400/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negminabs.cpp -46325 warnings generated. -Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 401/1170][21.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_8x1.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -53975 warnings generated. -Suppressed 53623 warnings (53621 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 402/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sqrt.cpp -47064 warnings generated. -Suppressed 47066 warnings (47064 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 403/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/is_supported.cpp -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:130:5: warning: function 'supports_sse2' should be marked [[nodiscard]] [modernize-use-nodiscard] - 130 | bool supports_sse2() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:131:5: warning: function 'supports_sse3' should be marked [[nodiscard]] [modernize-use-nodiscard] - 131 | bool supports_sse3() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:132:5: warning: function 'supports_ssse3' should be marked [[nodiscard]] [modernize-use-nodiscard] - 132 | bool supports_ssse3() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:133:5: warning: function 'supports_sse4_1' should be marked [[nodiscard]] [modernize-use-nodiscard] - 133 | bool supports_sse4_1() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:134:5: warning: function 'supports_sse4_2' should be marked [[nodiscard]] [modernize-use-nodiscard] - 134 | bool supports_sse4_2() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:135:5: warning: function 'supports_fma3' should be marked [[nodiscard]] [modernize-use-nodiscard] - 135 | bool supports_fma3() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:136:5: warning: function 'supports_avx' should be marked [[nodiscard]] [modernize-use-nodiscard] - 136 | bool supports_avx() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:137:5: warning: function 'supports_avx2' should be marked [[nodiscard]] [modernize-use-nodiscard] - 137 | bool supports_avx2() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:139:5: warning: function 'supports_avx512F' should be marked [[nodiscard]] [modernize-use-nodiscard] - 139 | bool supports_avx512F() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:140:5: warning: function 'supports_avx512PF' should be marked [[nodiscard]] [modernize-use-nodiscard] - 140 | bool supports_avx512PF() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:141:5: warning: function 'supports_avx512ER' should be marked [[nodiscard]] [modernize-use-nodiscard] - 141 | bool supports_avx512ER() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:142:5: warning: function 'supports_avx512CD' should be marked [[nodiscard]] [modernize-use-nodiscard] - 142 | bool supports_avx512CD() const noexcept { return false; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/detail/cpuid.hpp:144:5: warning: function 'supports_sse4_a' should be marked [[nodiscard]] [modernize-use-nodiscard] - 144 | bool supports_sse4_a() const noexcept { return false; } - | ^ - | [[nodiscard]] -51250 warnings generated. -Suppressed 51239 warnings (51237 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 404/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_flint.cpp -46348 warnings generated. -Suppressed 46350 warnings (46348 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 405/1170][80.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cospi.cpp -53948 warnings generated. -Suppressed 53950 warnings (53948 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 406/1170][217.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rec.cpp -68948 warnings generated. -Suppressed 68950 warnings (68948 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 407/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negate.cpp -46254 warnings generated. -Suppressed 46256 warnings (46254 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 408/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/powm1.cpp -46711 warnings generated. -Suppressed 46713 warnings (46711 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 409/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/ifrexp.cpp -46229 warnings generated. -Suppressed 46231 warnings (46229 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 410/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/rempio2.cpp -/Users/sadiinso/unsync/eve/test/doc/math/rempio2.cpp:8:90: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 8 | eve::wide wf([](auto i, auto c)->float{ return eve::pi(eve::as < float>())*2*(i-c/2);}); - | ^ -46040 warnings generated. -Suppressed 46041 warnings (46039 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 411/1170][93.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/logspace_sub.cpp -55612 warnings generated. -Suppressed 55614 warnings (55612 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 412/1170][204.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minmax.cpp -62663 warnings generated. -Suppressed 62665 warnings (62663 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 413/1170][193.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp:20:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 20 | std::array buf; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/core/constant/iota.cpp:30:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 30 | std::array buf; - | ^ - | {} -63203 warnings generated. -Suppressed 63033 warnings (63031 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 414/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/modf.cpp -46027 warnings generated. -Suppressed 46029 warnings (46027 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 415/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_xor.cpp -45220 warnings generated. -Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 416/1170][46.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_set.cpp -53986 warnings generated. -Suppressed 53988 warnings (53986 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 417/1170][129.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_tuple.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -59908 warnings generated. -Suppressed 58458 warnings (58456 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 418/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_y0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46781 warnings generated. -Suppressed 46775 warnings (46773 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 419/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_mask.cpp -46105 warnings generated. -Suppressed 46107 warnings (46105 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 420/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_even.cpp -46329 warnings generated. -Suppressed 46331 warnings (46329 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 421/1170][239.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/dist.cpp -59693 warnings generated. -Suppressed 59695 warnings (59693 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 422/1170][135.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/digamma.cpp -55840 warnings generated. -Suppressed 55842 warnings (55840 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 423/1170][85.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int64.cpp -53182 warnings generated. -Suppressed 53184 warnings (53182 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 424/1170][11.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_shr.cpp -45232 warnings generated. -Suppressed 45234 warnings (45232 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 425/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_yn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/sph_bessel_yn.cpp:7:65: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -48249 warnings generated. -Suppressed 48239 warnings (48237 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 426/1170][215.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/first_true.cpp -52806 warnings generated. -Suppressed 52808 warnings (52806 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 427/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 428/1170][144.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_greater.cpp -59399 warnings generated. -Suppressed 59401 warnings (59399 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 429/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/common_type.cpp -51310 warnings generated. -Suppressed 51312 warnings (51310 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 430/1170][49.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rsqrt.cpp -52683 warnings generated. -Suppressed 52685 warnings (52683 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 431/1170][118.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp10.cpp -54545 warnings generated. -Suppressed 54547 warnings (54545 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 432/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/swap_adjacent.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51029 warnings generated. -Suppressed 50966 warnings (50964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 433/1170][88.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tand.cpp -54706 warnings generated. -Suppressed 54708 warnings (54706 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 434/1170][367.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minmag.cpp -65510 warnings generated. -Suppressed 65512 warnings (65510 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 435/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/clamp.cpp -45109 warnings generated. -Suppressed 45111 warnings (45109 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 436/1170][112.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_notand.cpp -57951 warnings generated. -Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 437/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/eps.cpp -44990 warnings generated. -Suppressed 44992 warnings (44990 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 438/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/exponentmask.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 439/1170][76.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpi.cpp -54050 warnings generated. -Suppressed 54052 warnings (54050 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 440/1170][105.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/ptr_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/ptr_iterator.cpp:21:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 21 | alignas(sizeof(T)) std::array, T::size()> data; - | ^ - | {} -54068 warnings generated. -Suppressed 53518 warnings (53516 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 441/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp -/Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp:11:85: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 11 | std::cout << "-> first_true(wu0 >= maximum(wu0)/2) = " << *eve::first_true(wu0 >= eve::maximum(wu0)/2) << "\n"; - | ^ -/Users/sadiinso/unsync/eve/test/doc/core/first_true.cpp:12:85: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 12 | std::cout << "-> first_true[ignore_first(4)](wu0 <= maximum(wu0)/2 > 1u) = " << *eve::first_true[eve::ignore_first(4)](wu0 > 1u) << "\n"; - | ^ -45293 warnings generated. -Suppressed 45293 warnings (45291 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 442/1170][27.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/none_of_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54053 warnings generated. -Suppressed 53063 warnings (53061 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 443/1170][38.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/four_pio_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 444/1170][99.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/tgamma.cpp -56569 warnings generated. -Suppressed 56571 warnings (56569 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 445/1170][30.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_back.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54687 warnings generated. -Suppressed 54046 warnings (54044 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 446/1170][60.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asinpi.cpp -53144 warnings generated. -Suppressed 53146 warnings (53144 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 447/1170][42.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log2_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 448/1170][56.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrt.cpp -53681 warnings generated. -Suppressed 53683 warnings (53681 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 449/1170][118.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/gamma_p.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -67530 warnings generated. -Suppressed 67525 warnings (67523 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 450/1170][85.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acscpi.cpp -53387 warnings generated. -Suppressed 53389 warnings (53387 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 451/1170][7.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/slide_left.cpp -44938 warnings generated. -Suppressed 44940 warnings (44938 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 452/1170][144.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_greater_equal.cpp -59384 warnings generated. -Suppressed 59386 warnings (59384 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 453/1170][34.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/heaviside.cpp -52839 warnings generated. -Suppressed 52841 warnings (52839 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 454/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_not.cpp -55224 warnings generated. -Suppressed 55226 warnings (55224 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 455/1170][211.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/bitwise.cpp -55967 warnings generated. -Suppressed 55969 warnings (55967 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 456/1170][31.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp:22:12: warning: use designated initializer list to initialize 'polar_coords' [modernize-use-designated-initializers] - 22 | return { rho, theta }; - | ^~~~~~~~~~~~~~ - | .rho=.theta= -/Users/sadiinso/unsync/eve/examples/tutorial/intro-04.cpp:13:3: note: aggregate type is defined here - 13 | struct polar_coords - | ^ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::polar_coords>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::polar_coords>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::cartesian_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::polar_coords>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -57342 warnings generated. -Suppressed 56596 warnings (56594 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 457/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/diff_of_prod.cpp -45507 warnings generated. -Suppressed 45509 warnings (45507 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 458/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::map_iterator>, eve::fixed<4>>, (lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:23:53), eve::algo::nothing_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::map_iterator>, eve::fixed<4>>, (lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:23:53), eve::algo::nothing_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:29:75), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:17:47), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/transform_reduce.cpp:26:47), eve::mul_t>, eve::one_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52720 warnings generated. -Suppressed 52222 warnings (52220 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 459/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fma.cpp -47828 warnings generated. -Suppressed 47830 warnings (47828 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 460/1170][129.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/modf.cpp -55556 warnings generated. -Suppressed 55558 warnings (55556 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 461/1170][113.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfc_inv.cpp -64901 warnings generated. -Suppressed 64903 warnings (64901 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 462/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/zeta.cpp -/Users/sadiinso/unsync/eve/test/doc/special/zeta.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); - | ^ -46892 warnings generated. -Suppressed 46893 warnings (46891 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 463/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fanm.cpp -48281 warnings generated. -Suppressed 48283 warnings (48281 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 464/1170][106.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/stirling.cpp -55678 warnings generated. -Suppressed 55680 warnings (55678 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 465/1170][77.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinhc.cpp -54472 warnings generated. -Suppressed 54474 warnings (54472 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 466/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/meta.cpp -51098 warnings generated. -Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 467/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fracscale.cpp -45858 warnings generated. -Suppressed 45860 warnings (45858 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 468/1170][37.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/zeta_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 469/1170][8.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive.cpp -45019 warnings generated. -Suppressed 45021 warnings (45019 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 470/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maxmag.cpp -46324 warnings generated. -Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 471/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_xor.cpp -45862 warnings generated. -Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 472/1170][43.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invsqrt_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 473/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/secd.cpp -46555 warnings generated. -Suppressed 46557 warnings (46555 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 474/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ornot.cpp -45887 warnings generated. -Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 475/1170][302.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_bi.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -73925 warnings generated. -Suppressed 73914 warnings (73912 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 476/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_jn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_jn.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wdf([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -48045 warnings generated. -Suppressed 48036 warnings (48034 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 477/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rsqrt.cpp -45667 warnings generated. -Suppressed 45669 warnings (45667 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 478/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/epso_2.cpp -52966 warnings generated. -Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 479/1170][38.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_pio_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 480/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/all.cpp -45301 warnings generated. -Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 481/1170][238.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/if_else.cpp -65600 warnings generated. -Suppressed 65602 warnings (65600 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 482/1170][190.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negabsmin.cpp -59774 warnings generated. -Suppressed 59776 warnings (59774 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 483/1170][36.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_sparse_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -55556 warnings generated. -Suppressed 54863 warnings (54861 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 484/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46616 warnings generated. -Suppressed 46610 warnings (46608 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 485/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/pattern.cpp -51287 warnings generated. -Suppressed 51289 warnings (51287 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 486/1170][55.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_reverse.cpp -54170 warnings generated. -Suppressed 54172 warnings (54170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 487/1170][77.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_floor.cpp -56566 warnings generated. -Suppressed 56568 warnings (56566 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 488/1170][55.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/remainder.cpp -52800 warnings generated. -Suppressed 52802 warnings (52800 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 489/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/zip.cpp -45108 warnings generated. -Suppressed 45110 warnings (45108 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 490/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atanpi.cpp -45857 warnings generated. -Suppressed 45859 warnings (45857 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 491/1170][100.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_not.cpp -57302 warnings generated. -Suppressed 57304 warnings (57302 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 492/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/find_last.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/find_last.cpp:21:49)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52071 warnings generated. -Suppressed 51592 warnings (51590 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 493/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxexponentp1.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 494/1170][44.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 495/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_ornot.cpp -45224 warnings generated. -Suppressed 45226 warnings (45224 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 496/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log10.cpp -45950 warnings generated. -Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 497/1170][229.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/scan.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/scan.cpp:22:3: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array arr; - | ^ - | {} -55561 warnings generated. -Suppressed 55391 warnings (55389 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 498/1170][57.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog10denormal.cpp -54897 warnings generated. -Suppressed 54899 warnings (54897 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 499/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_basic_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -56003 warnings generated. -Suppressed 55311 warnings (55309 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 500/1170][124.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_andnot.cpp -57951 warnings generated. -Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 501/1170][435.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:31:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_reduce_generic.cpp:19:23), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'double' into type 'float' might result in loss of precision [bugprone-fold-init-type] - 55 | auto expected = std::reduce(f, l, ini); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'int' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'short' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'unsigned short' into type 'unsigned char' might result in loss of precision [bugprone-fold-init-type] -56095 warnings generated. -Suppressed 54389 warnings (54387 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 502/1170][214.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:18:25: warning: repeated branch body in conditional chain [bugprone-branch-clone] - 18 | if constexpr( G > 1 ) return kumi::tuple {eve::index<1>}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:18:59: note: end of the original - 18 | if constexpr( G > 1 ) return kumi::tuple {eve::index<1>}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/slide_left_1.cpp:20:53: note: clone 1 starts here - 20 | else if constexpr( !eve::unsigned_simd_value ) return kumi::tuple {eve::index<1>}; - | ^ -65821 warnings generated. -Suppressed 64928 warnings (64926 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 503/1170][102.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/identity.cpp -57030 warnings generated. -Suppressed 57032 warnings (57030 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 504/1170][99.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_k0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -55875 warnings generated. -Suppressed 55870 warnings (55868 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 505/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_kn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_kn.cpp:6:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 6 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -47420 warnings generated. -Suppressed 47414 warnings (47412 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 506/1170][33.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/reverse_horner.cpp -53648 warnings generated. -Suppressed 53650 warnings (53648 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 507/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/convert.cpp -45415 warnings generated. -Suppressed 45417 warnings (45415 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 508/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/horner.cpp -45624 warnings generated. -Suppressed 45626 warnings (45624 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 509/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asec.cpp -46265 warnings generated. -Suppressed 46267 warnings (46265 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 510/1170][119.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/double_factorial.cpp -65217 warnings generated. -Suppressed 65219 warnings (65217 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 511/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_less_equal.cpp -46330 warnings generated. -Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 512/1170][20.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 166 | bool main_check(unaligned_t haystack_i) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 187 | bool small_check(wide_value_type_t haystack) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53002 warnings generated. -Suppressed 52595 warnings (52593 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 513/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/round.cpp -46369 warnings generated. -Suppressed 46371 warnings (46369 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 514/1170][104.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_lez.cpp -57893 warnings generated. -Suppressed 57895 warnings (57893 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 515/1170][35.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/jacobi.cpp -53819 warnings generated. -Suppressed 53821 warnings (53819 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 516/1170][72.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rc.cpp -57386 warnings generated. -Suppressed 57388 warnings (57386 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 517/1170][119.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cotd.cpp -54568 warnings generated. -Suppressed 54570 warnings (54568 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 518/1170][125.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_jn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -60466 warnings generated. -Suppressed 60455 warnings (60453 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 519/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_floating_point.cpp -51101 warnings generated. -Suppressed 51103 warnings (51101 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 520/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/dawson.cpp -46202 warnings generated. -Suppressed 46204 warnings (46202 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 521/1170][19.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/tchebytchev.cpp -48584 warnings generated. -Suppressed 48586 warnings (48584 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 522/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mhalf.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 523/1170][88.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rshl.cpp -56838 warnings generated. -Suppressed 56840 warnings (56838 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 524/1170][104.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_tuple.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -58496 warnings generated. -Suppressed 57112 warnings (57110 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 525/1170][72.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_keep_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_generic.cpp:19:17)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_keep_if_and_remove_generic_test.hpp:27:15: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 27 | alignas(64) std::array data; - | ^ - | {} -54186 warnings generated. -Suppressed 53642 warnings (53640 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 526/1170][101.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ltz.cpp -57837 warnings generated. -Suppressed 57839 warnings (57837 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 527/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negmaxabs.cpp -46324 warnings generated. -Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 528/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_andnot.cpp -45220 warnings generated. -Suppressed 45222 warnings (45220 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 529/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/mismatch.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52303 warnings generated. -Suppressed 51833 warnings (51831 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 530/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/test_pch.dir/cmake_pch.hxx.cxx -54004 warnings generated. -Suppressed 54006 warnings (54004 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 531/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52059 warnings generated. -Suppressed 51597 warnings (51595 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 532/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_lez.cpp -46172 warnings generated. -Suppressed 46174 warnings (46172 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 533/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lo.cpp -46331 warnings generated. -Suppressed 46333 warnings (46331 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 534/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/gd.cpp -/Users/sadiinso/unsync/eve/test/doc/math/gd.cpp:7:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf = [](auto i, auto c) { return 2.f*(i-c/2);}; - | ^ -45816 warnings generated. -Suppressed 45817 warnings (45815 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 535/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tanpi.cpp -46287 warnings generated. -Suppressed 46289 warnings (46287 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 536/1170][270.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/min.cpp -62627 warnings generated. -Suppressed 62629 warnings (62627 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 537/1170][114.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_ornot.cpp -60265 warnings generated. -Suppressed 60267 warnings (60265 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 538/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/firstbitunset.cpp -45317 warnings generated. -Suppressed 45319 warnings (45317 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 539/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cosd.cpp -46338 warnings generated. -Suppressed 46340 warnings (46338 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 540/1170][264.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/inc.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/inc.cpp:74:43: warning: expression is redundant [misc-redundant-expression] - 74 | { return v_t((e > 64 && e != eve::valmin(eve::as(e)) ? e + 1 : e)); }, - | ^ -62017 warnings generated. -Suppressed 61983 warnings (61981 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 541/1170][101.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/round.cpp -55533 warnings generated. -Suppressed 55535 warnings (55533 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 542/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_denormal.cpp -46195 warnings generated. -Suppressed 46197 warnings (46195 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 543/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/csc.cpp -47112 warnings generated. -Suppressed 47114 warnings (47112 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 544/1170][197.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/logicals.cpp -56401 warnings generated. -Suppressed 56403 warnings (56401 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 545/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/legacy_l0.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -51579 warnings generated. -Suppressed 51559 warnings (51557 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 546/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asind.cpp -45728 warnings generated. -Suppressed 45730 warnings (45728 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 547/1170][75.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_if_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 94 | Test test) - | ^ - | const & -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54359 warnings generated. -Suppressed 53761 warnings (53759 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 548/1170][326.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/slide_right.cpp -58476 warnings generated. -Suppressed 58478 warnings (58476 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 549/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_y0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -57733 warnings generated. -Suppressed 57728 warnings (57726 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 550/1170][402.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sub.cpp -70780 warnings generated. -Suppressed 70782 warnings (70780 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 551/1170][15.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_k1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46545 warnings generated. -Suppressed 46539 warnings (46537 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 552/1170][40.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cosh_1.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 553/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acotd.cpp -45558 warnings generated. -Suppressed 45560 warnings (45558 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 554/1170][95.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrtvalmax.cpp -53728 warnings generated. -Suppressed 53730 warnings (53728 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 555/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/quick-start/constant.cpp -44958 warnings generated. -Suppressed 44960 warnings (44958 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 556/1170][66.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/gegenbauer.cpp -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, float>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, float, float>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), float, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, float, eve::wide>>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, float, eve::wide>>' calls function 'operator(), float, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const float &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_, eve::wide>, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide, float, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator(), float, float>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide, float, float>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide, float, float>' calls function 'operator(), float, float>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator(), float, float>' calls function 'behavior>, eve::options>>, eve::wide, float, float, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide, float, float, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, const float &, const float &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_, float, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_, float, float, eve::options>>>' calls function 'apply_over>, eve::wide, float, float>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, double>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, double>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, double>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, double>' calls function 'operator()>, double, double>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, double>' calls function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_>, double, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, double, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, double>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:27:71: warning: function 'operator()>, double, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE as_wide_as_t, T0> operator()(T0 a, Ts... b) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:20:24: note: example recursive call chain, starting from function 'apply_over>, eve::wide>, double, eve::wide>>' - 20 | EVE_FORCEINLINE auto apply_over(Obj f, T0 const& arg0, T const&... args) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #1: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #2: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #6: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 19 | gegenbauer_(EVE_REQUIRES(cpu_), O const&, I nn, U lambda, T x) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, eve::wide>, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_, float, float, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, double, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:19:3: warning: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, double, double, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const double &, const double &, eve::asimd_>' calls function 'gegenbauer_>, double, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, double, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, double>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, double, double>' calls function 'operator()>, double, double>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, double, double>' calls function 'behavior>, eve::options>>, eve::wide>, double, double, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const double &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, double, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, double, eve::options>>>' calls function 'apply_over>, eve::wide>, double, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, double, eve::wide>>' calls function 'operator()>, double, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, double, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, double, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, eve::wide>>' calls function 'operator()>, float, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_>, float, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, float, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, float>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, float>' calls function 'operator()>, float, float>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, float>' calls function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const eve::wide> &, eve::asimd_>' calls function 'gegenbauer_>, eve::wide>, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, eve::wide>, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, eve::wide>>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, eve::wide>>' calls function 'operator()>, float, eve::wide>>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, float, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:120:36: note: example recursive call chain, starting from function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' - 120 | constexpr EVE_FORCEINLINE auto behavior(as pt, auto arch, O const& opts, T x0, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:126:14: note: Frame #1: function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: - 126 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, float, float, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:33:39: note: Frame #3: function 'deferred_call>> &, eve::wide> &, const float &, const float &, eve::asimd_>' calls function 'gegenbauer_>, float, float, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(gegenbauer_t, gegenbauer_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/impl/gegenbauer.hpp:73:19: note: Frame #4: function 'gegenbauer_>, float, float, eve::options>>>' calls function 'apply_over>, eve::wide>, float, float>' here: - 73 | else return apply_over(gegenbauer, nn, lambda, x); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/apply_over.hpp:33:17: note: Frame #5: function 'apply_over>, eve::wide>, float, float>' calls function 'operator()>, float, float>' here: - 33 | else return f(arg0, args...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: Frame #6: function 'operator()>, float, float>' calls function 'behavior>, eve::options>>, eve::wide>, float, float, eve::asimd_>' here: - 30 | return this->behavior(as, T0>>{}, eve::current_api, this->options(), a, b...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/polynomial/regular/gegenbauer.hpp:30:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/test/unit/module/polynomial/gegenbauer.cpp:45:8: warning: declaration uses identifier 'eve__gegenbauerv', which is a reserved identifier [bugprone-reserved-identifier] - 45 | auto eve__gegenbauerv = [l](auto n, auto x) { return eve::gegenbauer(n, l, x); }; - | ^~~~~~~~~~~~~~~~ - | eve_gegenbauerv - 46 | for( unsigned int n = 0; n < 5; ++n ) - 47 | { - 48 | auto boost_gegenbauer = [&](auto i, auto) { return boost::math::gegenbauer(n, l, a0.get(i)); }; - 49 | TTS_ULP_EQUAL(eve__gegenbauerv(n, a0), T(boost_gegenbauer), 256); - | ~~~~~~~~~~~~~~~~ - | eve_gegenbauerv - 50 | } - 51 | auto boost_gegenbauerv = [&](auto i, auto) - 52 | { return boost::math::gegenbauer(i0.get(i), l, a0.get(i)); }; - 53 | TTS_ULP_EQUAL(eve__gegenbauerv(i0, a0), T(boost_gegenbauerv), 256); - | ~~~~~~~~~~~~~~~~ - | eve_gegenbauerv - 54 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) - 55 | { - 56 | auto boost_gegenbauer2 = [&](auto i, auto) - 57 | { return boost::math::gegenbauer(i0.get(i), l, a0.get(j)); }; - 58 | TTS_ULP_EQUAL(eve__gegenbauerv(i0, a0.get(j)), T(boost_gegenbauer2), 256); - | ~~~~~~~~~~~~~~~~ - | eve_gegenbauerv -53950 warnings generated. -Suppressed 53925 warnings (53923 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 557/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/byte_swap_adjacent.cpp -45442 warnings generated. -Suppressed 45444 warnings (45442 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 558/1170][85.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fracscale.cpp -54706 warnings generated. -Suppressed 54708 warnings (54706 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 559/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cotpi.cpp -46227 warnings generated. -Suppressed 46229 warnings (46227 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 560/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acsc.cpp -45568 warnings generated. -Suppressed 45570 warnings (45568 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 561/1170][194.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/abs.cpp -59705 warnings generated. -Suppressed 59707 warnings (59705 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 562/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lrising_factorial.cpp -46775 warnings generated. -Suppressed 46777 warnings (46775 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 563/1170][39.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_phi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 564/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/beta.cpp -46627 warnings generated. -Suppressed 46629 warnings (46627 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 565/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/floor.cpp -46371 warnings generated. -Suppressed 46373 warnings (46371 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 566/1170][126.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_xor.cpp -57942 warnings generated. -Suppressed 57944 warnings (57942 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 567/1170][206.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_double.cpp -53499 warnings generated. -Suppressed 53501 warnings (53499 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 568/1170][460.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fsm.cpp -75272 warnings generated. -Suppressed 75274 warnings (75272 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 569/1170][22.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-03.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -54059 warnings generated. -Suppressed 53530 warnings (53528 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 570/1170][95.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint32.cpp -53357 warnings generated. -Suppressed 53359 warnings (53357 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 571/1170][123.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_j0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -57302 warnings generated. -Suppressed 57297 warnings (57295 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 572/1170][8.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/simd_cast.cpp -44984 warnings generated. -Suppressed 44986 warnings (44984 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 573/1170][96.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint8.cpp -53412 warnings generated. -Suppressed 53414 warnings (53412 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 574/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/remainder.cpp -45959 warnings generated. -Suppressed 45961 warnings (45959 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 575/1170][31.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/fibonacci.cpp -52647 warnings generated. -Suppressed 52649 warnings (52647 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 576/1170][144.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/reverse.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:22:3: warning: uninitialized record type: 'x_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | std::array x_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:25:3: warning: uninitialized record type: 'shuffled_a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array shuffled_a; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 163 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: make conversion explicit to silence this warning - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:163:16: note: perform multiplication in a wider type - 163 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 164 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: make conversion explicit to silence this warning - 10 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:164:16: note: perform multiplication in a wider type - 164 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 165 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: make conversion explicit to silence this warning - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:165:16: note: perform multiplication in a wider type - 165 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 166 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: make conversion explicit to silence this warning - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:166:16: note: perform multiplication in a wider type - 166 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 167 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: make conversion explicit to silence this warning - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:167:16: note: perform multiplication in a wider type - 167 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 168 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: make conversion explicit to silence this warning - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:168:16: note: perform multiplication in a wider type - 168 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 169 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: make conversion explicit to silence this warning - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:169:16: note: perform multiplication in a wider type - 169 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: warning: performing an implicit widening conversion to type 'std::ptrdiff_t' (aka 'long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 170 | r(eve::index, std::make_index_sequence {}); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: make conversion explicit to silence this warning - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_test.hpp:170:16: note: perform multiplication in a wider type - 170 | r(eve::index, std::make_index_sequence {}); - | ^~~~ - | static_cast( ) -61080 warnings generated. -Suppressed 60580 warnings (60578 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 577/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/reduce.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52065 warnings generated. -Suppressed 51610 warnings (51608 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 578/1170][135.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/secd.cpp -54798 warnings generated. -Suppressed 54800 warnings (54798 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 579/1170][37.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/iota_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 38 | value_type base; - | - | {} - 39 | value_type step; - | - | {} - 40 | std::ptrdiff_t i; - | - | {} - 41 | wv_type wide_cur; - 42 | - 43 | iota_with_step_iterator() = default; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -56210 warnings generated. -Suppressed 55336 warnings (55334 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 580/1170][127.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maximum.cpp -56218 warnings generated. -Suppressed 56220 warnings (56218 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 581/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress_store.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51006 warnings generated. -Suppressed 50943 warnings (50941 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 582/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/allbits.cpp -44991 warnings generated. -Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 583/1170][68.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atand.cpp -53422 warnings generated. -Suppressed 53424 warnings (53422 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 584/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minimum.cpp -45992 warnings generated. -Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 585/1170][118.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_logical.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -55401 warnings generated. -Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 586/1170][13.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acos.cpp -46091 warnings generated. -Suppressed 46093 warnings (46091 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 587/1170][119.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_j1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -57155 warnings generated. -Suppressed 57150 warnings (57148 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 588/1170][460.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/constant/constants.cpp -58555 warnings generated. -Suppressed 58557 warnings (58555 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 589/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/replace_ignored.cpp -45043 warnings generated. -Suppressed 45045 warnings (45043 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 590/1170][93.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_cast.cpp -54294 warnings generated. -Suppressed 54296 warnings (54294 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 591/1170][111.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nlez.cpp -58151 warnings generated. -Suppressed 58153 warnings (58151 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 592/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minmag.cpp -46325 warnings generated. -Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 593/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/mul.cpp -47302 warnings generated. -Suppressed 47304 warnings (47302 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 594/1170][123.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ceil.cpp -55876 warnings generated. -Suppressed 55878 warnings (55876 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 595/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/map.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46241 warnings generated. -Suppressed 45849 warnings (45847 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 596/1170][168.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_logical.cpp -59830 warnings generated. -Suppressed 59832 warnings (59830 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 597/1170][85.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asech.cpp -53812 warnings generated. -Suppressed 53814 warnings (53812 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 598/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/wide_value_type.cpp -51149 warnings generated. -Suppressed 51151 warnings (51149 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 599/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_set.cpp -45193 warnings generated. -Suppressed 45195 warnings (45193 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 600/1170][39.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_pio_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 601/1170][265.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp2.cpp -57019 warnings generated. -Suppressed 57021 warnings (57019 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 602/1170][167.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_float.cpp -53454 warnings generated. -Suppressed 53456 warnings (53454 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 603/1170][187.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:11:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 11 | load_op(int) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:22:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 22 | store_op(int) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/map_eve_iterator.cpp:33:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | alignas(sizeof(T)) std::array, T::size()> data; - | ^ - | {} -57186 warnings generated. -Suppressed 56245 warnings (56243 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 604/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rd.cpp -46394 warnings generated. -Suppressed 46396 warnings (46394 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 605/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/false_.cpp -45040 warnings generated. -Suppressed 45042 warnings (45040 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 606/1170][178.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow1p.cpp -56403 warnings generated. -Suppressed 56405 warnings (56403 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 607/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/deginrad.cpp -45329 warnings generated. -Suppressed 45331 warnings (45329 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 608/1170][40.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi_minus_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 609/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/div.cpp -46692 warnings generated. -Suppressed 46694 warnings (46692 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 610/1170][126.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_logical.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -55647 warnings generated. -Suppressed 55605 warnings (55603 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 611/1170][26.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nepz.cpp -52400 warnings generated. -Suppressed 52402 warnings (52400 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 612/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/constant/zero.cpp -51490 warnings generated. -Suppressed 51492 warnings (51490 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 613/1170][40.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invcbrt_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 614/1170][94.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int32.cpp -53240 warnings generated. -Suppressed 53242 warnings (53240 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 615/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mindenormal.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 616/1170][40.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/cbrt_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 617/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/std_compatibility.cpp -51188 warnings generated. -Suppressed 51190 warnings (51188 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 618/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_constant.cpp -45085 warnings generated. -Suppressed 45087 warnings (45085 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 619/1170][53.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog2denormal.cpp -54758 warnings generated. -Suppressed 54760 warnings (54758 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 620/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sin.cpp -46959 warnings generated. -Suppressed 46961 warnings (46959 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 621/1170][153.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_not_generic.cpp:22:7)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54160 warnings generated. -Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 622/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/bernouilli.cpp -53754 warnings generated. -Suppressed 53756 warnings (53754 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 623/1170][106.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nez.cpp -57626 warnings generated. -Suppressed 57628 warnings (57626 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 624/1170][82.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/frexp.cpp -53956 warnings generated. -Suppressed 53958 warnings (53956 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 625/1170][103.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asecpi.cpp -53614 warnings generated. -Suppressed 53616 warnings (53614 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 626/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_unset.cpp -45196 warnings generated. -Suppressed 45198 warnings (45196 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 627/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/has_abi.cpp -51376 warnings generated. -Suppressed 51378 warnings (51376 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 628/1170][114.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lbeta.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -55450 warnings generated. -Suppressed 55445 warnings (55443 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 629/1170][54.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog2.cpp -54925 warnings generated. -Suppressed 54927 warnings (54925 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 630/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/any.cpp -45301 warnings generated. -Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 631/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/log_abs_gamma.cpp -46652 warnings generated. -Suppressed 46654 warnings (46652 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 632/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/convert.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46080 warnings generated. -Suppressed 45694 warnings (45692 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 633/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/agm.cpp -46241 warnings generated. -Suppressed 46243 warnings (46241 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 634/1170][24.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/prime_ceil.cpp -45427 warnings generated. -Suppressed 45429 warnings (45427 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 635/1170][28.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_if_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54125 warnings generated. -Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 636/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/square_or_diff.cpp -45090 warnings generated. -Suppressed 45092 warnings (45090 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 637/1170][16.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/polynomial/laguerre.cpp -47610 warnings generated. -Suppressed 47612 warnings (47610 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 638/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/fibonacci.cpp -45775 warnings generated. -Suppressed 45777 warnings (45775 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 639/1170][51.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lo.cpp -53681 warnings generated. -Suppressed 53683 warnings (53681 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 640/1170][249.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negminabs.cpp -60588 warnings generated. -Suppressed 60590 warnings (60588 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 641/1170][83.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:17:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 17 | std::array r; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:759:57: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 759 | .zeroes = {true, false, {0, 1, 1, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:767:34: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 767 | .register_blends = {{{true, false, {1, 0, 1, 0}}, {true, false, {0, 1, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:767:63: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 767 | .register_blends = {{{true, false, {1, 0, 1, 0}}, {true, false, {0, 1, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:774:34: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 774 | .register_blends = {{{true, true, {1, 0, 0, 0}}, {true, true, {0, 0, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:774:62: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 774 | .register_blends = {{{true, true, {1, 0, 0, 0}}, {true, true, {0, 0, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:780:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 780 | .register_blends = {{{true, true, {1, 0, 0, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:781:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 781 | {false, true, {0, 0, 0, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:782:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 782 | {true, false, {0, 0, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:789:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 789 | .register_blends = {{{true, false, {1, 1, 0, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:790:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 790 | {false, true, {0, 0, 0, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:791:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 791 | {true, false, {0, 0, 0, 1}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:798:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 798 | .register_blends = {{{true, false, {0, 1, 0, 1}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:799:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 799 | {false, true, {0, 0, 0, 0}}, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/idxm.cpp:800:59: warning: use designated initializer list to initialize 'blend_pattern' [modernize-use-designated-initializers] - 800 | {false, true, {0, 0, 0, 0}}}}}); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | .present_in_blend= .present_in_shuffle= .idxs= -/Users/sadiinso/unsync/eve/include/eve/detail/shuffle_v2/idxm.hpp:760:3: note: aggregate type is defined here - 760 | struct blend_pattern - | ^ -52045 warnings generated. -Suppressed 51982 warnings (51980 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 642/1170][55.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/manhattan.cpp -53038 warnings generated. -Suppressed 53040 warnings (53038 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 643/1170][17.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:31:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:38:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/examples/tutorial/frequency_scaling.cpp:24:32)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52449 warnings generated. -Suppressed 51971 warnings (51969 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 644/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/coth.cpp -46157 warnings generated. -Suppressed 46159 warnings (46157 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 645/1170][106.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asecd.cpp -53613 warnings generated. -Suppressed 53615 warnings (53613 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 646/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp:209:3: warning: function 'get_unrolling' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | constexpr std::ptrdiff_t get_unrolling() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/traits.cpp:214:3: warning: function 'is_divisible_by_cardinal' should be marked [[nodiscard]] [modernize-use-nodiscard] - 214 | constexpr bool is_divisible_by_cardinal() const - | ^ - | [[nodiscard]] -52266 warnings generated. -Suppressed 51873 warnings (51871 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 647/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tan.cpp -46937 warnings generated. -Suppressed 46939 warnings (46937 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 648/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asech.cpp -45740 warnings generated. -Suppressed 45742 warnings (45740 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 649/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_infinite.cpp -46239 warnings generated. -Suppressed 46241 warnings (46239 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 650/1170][134.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_yn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -62454 warnings generated. -Suppressed 62441 warnings (62439 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 651/1170][307.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/broadcast.cpp -59848 warnings generated. -Suppressed 59850 warnings (59848 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 652/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow1p.cpp -46945 warnings generated. -Suppressed 46947 warnings (46945 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 653/1170][193.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/max.cpp -59102 warnings generated. -Suppressed 59104 warnings (59102 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 654/1170][380.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maxmag.cpp -64774 warnings generated. -Suppressed 64776 warnings (64774 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 655/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/aggregation.cpp -51099 warnings generated. -Suppressed 51101 warnings (51099 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 656/1170][67.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cos.cpp -54997 warnings generated. -Suppressed 54999 warnings (54997 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 657/1170][190.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint8.cpp -53565 warnings generated. -Suppressed 53567 warnings (53565 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 658/1170][112.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinc.cpp -55556 warnings generated. -Suppressed 55558 warnings (55556 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 659/1170][40.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/exp_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 660/1170][29.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::algo::range_ref_wrapper>, eve::algo::range_ref_wrapper>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54665 warnings generated. -Suppressed 54109 warnings (54107 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 661/1170][32.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, float> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, unsigned char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, float> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, signed char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, double> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<8>>, unsigned char> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'double' into type 'float' might result in loss of precision [bugprone-fold-init-type] - 55 | auto expected = std::reduce(f, l, ini); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'int' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'short' into type 'signed char' might result in loss of precision [bugprone-fold-init-type] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reduce_generic.hpp:55:21: warning: folding type 'unsigned short' into type 'unsigned char' might result in loss of precision [bugprone-fold-init-type] -55829 warnings generated. -Suppressed 54783 warnings (54781 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 662/1170][43.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_pi.cpp -52961 warnings generated. -Suppressed 52963 warnings (52961 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 663/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/two_add.cpp -45307 warnings generated. -Suppressed 45309 warnings (45307 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 664/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lpnorm.cpp -46901 warnings generated. -Suppressed 46903 warnings (46901 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 665/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countl_one.cpp -45367 warnings generated. -Suppressed 45369 warnings (45367 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 666/1170][540.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_simd_wide.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -66555 warnings generated. -Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 667/1170][129.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/factorial.cpp -53426 warnings generated. -Suppressed 53428 warnings (53426 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 668/1170][27.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/transform_points_into_lines.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>, eve::algo::ptr_iterator>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, udt::line2D>, eve::algo::views::converting_iterator, udt::line2D>> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -58390 warnings generated. -Suppressed 57594 warnings (57592 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 669/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pio_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 670/1170][579.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_wide.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -63523 warnings generated. -Suppressed 56521 warnings (56519 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 671/1170][102.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_gtz.cpp -57893 warnings generated. -Suppressed 57895 warnings (57893 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 672/1170][86.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/exponent.cpp -53680 warnings generated. -Suppressed 53682 warnings (53680 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 673/1170][36.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/shuffle/slide_right.cpp -52027 warnings generated. -Suppressed 52029 warnings (52027 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 674/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_notor.cpp -45887 warnings generated. -Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 675/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rg.cpp -46429 warnings generated. -Suppressed 46431 warnings (46429 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 676/1170][212.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negmaxabs.cpp -60067 warnings generated. -Suppressed 60069 warnings (60067 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 677/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_supports.cpp -45338 warnings generated. -Suppressed 45340 warnings (45338 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 678/1170][59.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acotpi.cpp -53374 warnings generated. -Suppressed 53376 warnings (53374 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 679/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_finite.cpp -46207 warnings generated. -Suppressed 46209 warnings (46207 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 680/1170][103.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fdim.cpp -56450 warnings generated. -Suppressed 56452 warnings (56450 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 681/1170][68.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_width.cpp -53982 warnings generated. -Suppressed 53984 warnings (53982 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 682/1170][16.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/nthroot.cpp -46737 warnings generated. -Suppressed 46739 warnings (46737 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 683/1170][192.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/nthroot.cpp -57023 warnings generated. -Suppressed 57025 warnings (57023 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 684/1170][27.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/any_of_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>, rbr::option>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_generic_test.hpp:39:19)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54037 warnings generated. -Suppressed 53063 warnings (53061 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 685/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_normal.cpp -46230 warnings generated. -Suppressed 46232 warnings (46230 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 686/1170][110.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_j0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -56054 warnings generated. -Suppressed 56049 warnings (56047 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 687/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fsm.cpp -48252 warnings generated. -Suppressed 48254 warnings (48252 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 688/1170][37.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_2eps.cpp -52966 warnings generated. -Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 689/1170][94.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rotr.cpp -56523 warnings generated. -Suppressed 56525 warnings (56523 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 690/1170][97.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/log_abs_gamma.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -55314 warnings generated. -Suppressed 55309 warnings (55307 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 691/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/translation/base.cpp -51108 warnings generated. -Suppressed 51110 warnings (51108 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 692/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_and.cpp -45860 warnings generated. -Suppressed 45862 warnings (45860 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 693/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert_zip.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53927 warnings generated. -Suppressed 53482 warnings (53480 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 694/1170][80.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sincos.cpp -56460 warnings generated. -Suppressed 56462 warnings (56460 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 695/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/erfc.cpp -46500 warnings generated. -Suppressed 46502 warnings (46500 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 696/1170][276.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/maxabs.cpp -64135 warnings generated. -Suppressed 64137 warnings (64135 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 697/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cosh.cpp -46357 warnings generated. -Suppressed 46359 warnings (46357 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 698/1170][309.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_ai.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:417:22: warning: The left operand of '' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult] - 417 | T z = (u + n % 2); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/bessel/airy_ai.cpp:33:49: note: Calling 'airy_ai' - 33 | auto std_airy_ai = [](auto x) -> v_t { return boost::math::airy_ai(x); }; - | ^~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:284:11: note: Calling 'airy_ai>' - 284 | return airy_ai(x, policies::policy<>()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:278:65: note: Calling 'airy_ai_imp>' - 278 | return policies::checked_narrowing_cast(detail::airy_ai_imp(static_cast(x), forwarding_policy()), "boost::math::airy<%1%>(%1%)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:26:7: note: Assuming 'x' is >= 0 - 26 | if(x < 0) - | ^~~~~ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:26:4: note: Taking false branch - 26 | if(x < 0) - | ^ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:36:12: note: Assuming the condition is false - 36 | else if(fabs(x * x * x) / 6 < tools::epsilon()) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:36:9: note: Taking false branch - 36 | else if(fabs(x * x * x) / 6 < tools::epsilon()) - | ^ -/opt/homebrew/include/boost/math/special_functions/airy.hpp:53:14: note: Calling 'cyl_bessel_k>' - 53 | T ai = cyl_bessel_k(v, p, pol) * sqrt(x / 3) / boost::math::constants::pi(); //sqrt(x) * (j1 - j2) / 3; - | ^~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:577:65: note: Calling 'cyl_bessel_k_imp>' - 577 | return policies::checked_narrowing_cast(detail::cyl_bessel_k_imp(v, static_cast(x), tag_type(), forwarding_policy()), "boost::math::cyl_bessel_k<%1%>(%1%,%1%)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:254:8: note: Assuming the condition is false - 254 | if((floor(v) == v)) - | ^~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:254:4: note: Taking false branch - 254 | if((floor(v) == v)) - | ^ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:258:11: note: Calling 'cyl_bessel_k_imp>' - 258 | return cyl_bessel_k_imp(v, x, bessel_no_int_tag(), pol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:236:7: note: Assuming 'x' is >= 0 - 236 | if(x < 0) - | ^~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:236:4: note: Taking false branch - 236 | if(x < 0) - | ^ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:240:7: note: Assuming 'x' is not equal to 0 - 240 | if(x == 0) - | ^~~~~~ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:240:4: note: Taking false branch - 240 | if(x == 0) - | ^ -/opt/homebrew/include/boost/math/special_functions/bessel.hpp:246:4: note: Calling 'bessel_ik>' - 246 | bessel_ik(v, x, &result_I, &result_K, need_k, pol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:307:14: note: 'n' declared without an initial value - 307 | unsigned n, k; - | ^ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:319:9: note: Assuming 'v' is < 0 - 319 | if (v < 0) - | ^~~~~ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:319:5: note: Taking true branch - 319 | if (v < 0) - | ^ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:9: note: Left side of '&&' is true - 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) - | ^ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:36: note: Assuming the condition is true - 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:329:5: note: Taking true branch - 329 | if (((kind & need_i) == 0) && (fabs(4 * v * v - 25) / (8 * x) < tools::forth_root_epsilon())) - | ^ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:415:9: note: 'reflect' is true - 415 | if (reflect) - | ^~~~~~~ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:415:5: note: Taking true branch - 415 | if (reflect) - | ^ -/opt/homebrew/include/boost/math/special_functions/detail/bessel_ik.hpp:417:22: note: The left operand of '' is a garbage value - 417 | T z = (u + n % 2); - | ~ ^ -73362 warnings generated. -Suppressed 73350 warnings (73348 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 699/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/zero.cpp -44991 warnings generated. -Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 700/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minmax.cpp -46321 warnings generated. -Suppressed 46323 warnings (46321 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 701/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rshr.cpp -45277 warnings generated. -Suppressed 45279 warnings (45277 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 702/1170][98.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tan.cpp -55444 warnings generated. -Suppressed 55446 warnings (55444 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 703/1170][20.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:49:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] - 49 | switch ( i % 3 ) - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:172:5: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 172 | std::array actual; - | ^ - | {} -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:179:5: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 179 | std::array actual; - | ^ - | {} -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:214:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 214 | int expected_r = convert_bgra_to_rgb_scalar(rng, expected.data()) - expected.data(); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/writing_new/bgra_rgb__using_eve_to_shuffle_bytes.cpp:215:22: warning: narrowing conversion from 'long' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 215 | int actual_r = convert_bgra_to_rgb(rng, actual.data()) - actual.data(); - | ^ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -52623 warnings generated. -Suppressed 52157 warnings (52155 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 704/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/epsilon.cpp -46456 warnings generated. -Suppressed 46458 warnings (46456 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 705/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/manhattan.cpp -47075 warnings generated. -Suppressed 47077 warnings (47075 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 706/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asinpi.cpp -45714 warnings generated. -Suppressed 45716 warnings (45714 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 707/1170][20.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqrteps.cpp -51513 warnings generated. -Suppressed 51515 warnings (51513 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 708/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinpicospi.cpp -/Users/sadiinso/unsync/eve/test/doc/math/sinpicospi.cpp:8:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 8 | eve::wide wf = [](auto i, auto c) { return 2.f*(i-c/2);}; - | ^ -45647 warnings generated. -Suppressed 45648 warnings (45646 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 709/1170][85.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_float.cpp -53138 warnings generated. -Suppressed 53140 warnings (53138 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 710/1170][84.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpic.cpp -54309 warnings generated. -Suppressed 54311 warnings (54309 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 711/1170][86.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_jn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -60440 warnings generated. -Suppressed 60429 warnings (60427 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 712/1170][9.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/constant.cpp -45266 warnings generated. -Suppressed 45268 warnings (45266 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 713/1170][220.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/last_true.cpp -52812 warnings generated. -Suppressed 52814 warnings (52812 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 714/1170][110.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp:23:3: warning: uninitialized record type: 'ref' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 23 | std::array, 3 * T::size()> ref; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/store/unaligned.cpp:37:3: warning: uninitialized record type: 'target' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 37 | std::array, 3 * T::size()> target; - | ^ - | {} -56969 warnings generated. -Suppressed 56799 warnings (56797 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 715/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_less.cpp -46330 warnings generated. -Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 716/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lohi.cpp -46291 warnings generated. -Suppressed 46293 warnings (46291 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 717/1170][785.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_wide.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -66555 warnings generated. -Suppressed 59447 warnings (59445 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 718/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/quick-start/sanity-check.cpp -45039 warnings generated. -Suppressed 45041 warnings (45039 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 719/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/twotonmb.cpp -44964 warnings generated. -Suppressed 44966 warnings (44964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 720/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_width.cpp -45439 warnings generated. -Suppressed 45441 warnings (45439 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 721/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/has_equal_in.cpp -45265 warnings generated. -Suppressed 45267 warnings (45265 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 722/1170][73.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/comparison.cpp -52099 warnings generated. -Suppressed 52101 warnings (52099 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 723/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/dec.cpp -47397 warnings generated. -Suppressed 47399 warnings (47397 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 724/1170][114.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_notand.cpp -60280 warnings generated. -Suppressed 60282 warnings (60280 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 725/1170][106.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ngez.cpp -58095 warnings generated. -Suppressed 58097 warnings (58095 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 726/1170][31.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/set_intersection.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r1_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, eve::algo::views::zip_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>>>, eve::algo::views::converting_iterator>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, eve::algo::views::zip_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:74:43: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 74 | f2_res = eve::unalign(i) + *eve::first_true[ignore](eq_test) + 1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>, rbr::option, kumi::tuple, int>>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result, rbr::option>>>, eve::algo::views::converting_iterator>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, eve::algo::views::zip_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'eve::algo::as_range, std::__wrap_iter> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, eve::algo::views::zip_iterator> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -57563 warnings generated. -Suppressed 56579 warnings (56577 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 727/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/logical.cpp -51288 warnings generated. -Suppressed 51290 warnings (51288 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 728/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/two_prod.cpp -45260 warnings generated. -Suppressed 45262 warnings (45260 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 729/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acot.cpp -45550 warnings generated. -Suppressed 45552 warnings (45550 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 730/1170][9.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrtvalmax.cpp -44992 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 731/1170][37.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/zeta_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 732/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/frexp.cpp -46368 warnings generated. -Suppressed 46370 warnings (46368 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 733/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sign_alternate.cpp -55973 warnings generated. -Suppressed 55975 warnings (55973 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 734/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_positive.cpp -46180 warnings generated. -Suppressed 46182 warnings (46180 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 735/1170][99.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reverse_copy_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -69975 warnings generated. -Suppressed 67464 warnings (67462 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 736/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/concepts.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -52535 warnings generated. -Suppressed 52119 warnings (52117 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 737/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:28:7) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type '(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:28:7) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:19:26: warning: use emplace_back instead of push_back [hicpp-use-emplace,modernize-use-emplace] - 19 | if( it != last ) res.push_back({last, it}); - | ^~~~~~~~~~~ ~ - | emplace_back( -/Users/sadiinso/unsync/eve/test/doc/algo/for_each_selected.cpp:23:37: warning: do not use C-style cast to convert between unrelated types [cppcoreguidelines-pro-type-cstyle-cast] - 23 | std::span us{ (const std::uint8_t*) s.data(), s.size() }; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51884 warnings generated. -Suppressed 51441 warnings (51439 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 738/1170][16.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/double_factorial.cpp -47708 warnings generated. -Suppressed 47710 warnings (47708 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 739/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compare_absolute.cpp -46234 warnings generated. -Suppressed 46236 warnings (46234 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 740/1170][60.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/algorithm/scan.cpp -53160 warnings generated. -Suppressed 53162 warnings (53160 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 741/1170][40.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/chi.cpp -53327 warnings generated. -Suppressed 53329 warnings (53327 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 742/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:19:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 19 | eve::wide lhs = [](int i, int) { return udt::grid2d{ i%6, i%5 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:20:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 20 | eve::wide rhs = [](int i, int) { return udt::grid2d{-i%3, i%3 ? +3 : -3}; }; - | ^~~~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:27:98: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 27 | eve::wide ref_t0 = [&](int i, int) { return mask.get(i) ? lhs.get(i) : udt::grid2d{0,0}; }; - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:31:85: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 31 | eve::wide ref_0f = [&](int i, int) { return mask.get(i) ? udt::grid2d{0,0} : rhs.get(i) ; }; - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:41:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 41 | eve::wide lhs = [](int i, int) { return udt::grid2d{ i%6, i%5 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:42:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 42 | eve::wide rhs = [](int i, int) { return udt::grid2d{-i%3, i%3 ? +3 : -3}; }; - | ^~~~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/conditional.cpp:47:95: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 47 | eve::wide ref_0 = [&](int i, int c) { return i < c/2 ? lhs.get(i) : udt::grid2d{0,0}; }; - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -51343 warnings generated. -Suppressed 51338 warnings (51336 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 743/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atanh.cpp -45686 warnings generated. -Suppressed 45688 warnings (45686 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 744/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp:31:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 31 | auto const* f1 = reinterpret_cast(lhs); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/memcmp__two_range_algorithms_interface_specifics.cpp:33:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 33 | auto const* f2 = reinterpret_cast(rhs); - | ^ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52477 warnings generated. -Suppressed 52008 warnings (52006 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 745/1170][58.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan.cpp -53368 warnings generated. -Suppressed 53370 warnings (53368 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 746/1170][8.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp -/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:12:16: warning: use c++17 style variable templates [modernize-type-traits] - 12 | << std::is_same::value << "\n" - | ^ ~~~~~~~ - | _v -/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:13:16: warning: use c++17 style variable templates [modernize-type-traits] - 13 | << std::is_same>::value << "\n" - | ^ ~~~~~~~ - | _v -/Users/sadiinso/unsync/eve/test/doc/traits/common_compatible.cpp:14:16: warning: use c++17 style variable templates [modernize-type-traits] - 14 | << std::is_same>::value << "\n"; - | ^ ~~~~~~~ - | _v -44948 warnings generated. -Suppressed 44947 warnings (44945 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 747/1170][47.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_pow2.cpp -53120 warnings generated. -Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 748/1170][18.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/airy.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/airy.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -49061 warnings generated. -Suppressed 49052 warnings (49050 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 749/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/as_value.cpp -44990 warnings generated. -Suppressed 44992 warnings (44990 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 750/1170][116.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_nan.cpp -57725 warnings generated. -Suppressed 57727 warnings (57725 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 751/1170][801.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/decorated.div.cpp -71195 warnings generated. -Suppressed 71197 warnings (71195 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 752/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/flush_denormal.cpp -45799 warnings generated. -Suppressed 45801 warnings (45799 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 753/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinh.cpp -46374 warnings generated. -Suppressed 46376 warnings (46374 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 754/1170][105.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_tuple.small.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -58014 warnings generated. -Suppressed 56564 warnings (56562 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 755/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fsnm.cpp -48284 warnings generated. -Suppressed 48286 warnings (48284 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 756/1170][19.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:51:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 51 | auto *f1 = reinterpret_cast(a.begin()); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:52:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 52 | auto *l1 = reinterpret_cast(a.end()); - | ^ -/Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:53:16: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 53 | auto *f2 = reinterpret_cast(b.begin()); - | ^ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>, eve::algo::views::map_iterator>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>, eve::algo::views::map_iterator>, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, eve::algo::views::map_iterator> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, ascii::(unnamed struct at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/case_insensitive_equals.cpp:24:3), eve::algo::nothing_t> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52965 warnings generated. -Suppressed 52468 warnings (52466 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 757/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log_abs.cpp -45950 warnings generated. -Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 758/1170][601.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/prime_ceil.cpp -55248 warnings generated. -Suppressed 55250 warnings (55248 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 759/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_greater.cpp -46330 warnings generated. -Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 760/1170][122.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sind.cpp -53995 warnings generated. -Suppressed 53997 warnings (53995 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 761/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/bit_value.cpp -51138 warnings generated. -Suppressed 51140 warnings (51138 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 762/1170][123.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_ornot.cpp -58007 warnings generated. -Suppressed 58009 warnings (58007 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 763/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cot.cpp -46924 warnings generated. -Suppressed 46926 warnings (46924 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 764/1170][91.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp:25:18: warning: declaration uses identifier '_S', which is a reserved identifier [bugprone-reserved-identifier] - 25 | constexpr auto _S = eve::index_t(); - | ^~ - | S - 26 | constexpr auto _H = eve::index_t(); - 27 | TTS_EQUAL(swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return swap_pairs(e, _0, _S); }, a0)); - | ~~ ~~ ~~ - | S S S -/Users/sadiinso/unsync/eve/test/unit/module/core/swap_pairs.cpp:26:18: warning: declaration uses identifier '_H', which is a reserved identifier [bugprone-reserved-identifier] - 26 | constexpr auto _H = eve::index_t(); - | ^~ - | H - 27 | TTS_EQUAL(swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return swap_pairs(e, _0, _S); }, a0)); - 28 | TTS_EQUAL(swap_pairs(a0, _0, _H), tts::map([_0, _H](auto e) -> v_t { return swap_pairs(e, _0, _H); }, a0)); - | ~~ ~~ ~~ - | H H H -54567 warnings generated. -Suppressed 54567 warnings (54565 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 765/1170][68.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/log_abs.cpp -53697 warnings generated. -Suppressed 53699 warnings (53697 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 766/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/loglog_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 767/1170][115.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_y0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -56194 warnings generated. -Suppressed 56189 warnings (56187 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 768/1170][8.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp:25:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 25 | std::array::size()> data; - | ^ - | {} -/Users/sadiinso/unsync/eve/examples/tutorial/load_ignore.cpp:26:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 26 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; - | ^ -44988 warnings generated. -Suppressed 44986 warnings (44984 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 769/1170][41.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/broadcast_group.cpp -52096 warnings generated. -Suppressed 52098 warnings (52096 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 770/1170][16.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/inclusive_scan_zip__using_zip_with_algorithms.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52657 warnings generated. -Suppressed 52190 warnings (52188 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 771/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/lookup.cpp -45053 warnings generated. -Suppressed 45055 warnings (45053 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 772/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/hypot.cpp -45742 warnings generated. -Suppressed 45744 warnings (45742 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 773/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 774/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/radinpi.cpp -/Users/sadiinso/unsync/eve/test/doc/math/radinpi.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); - | ^ -45122 warnings generated. -Suppressed 45123 warnings (45121 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 775/1170][117.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_or.cpp -59587 warnings generated. -Suppressed 59589 warnings (59587 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 776/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2pi.cpp -45995 warnings generated. -Suppressed 45997 warnings (45995 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 777/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/copysign.cpp -45653 warnings generated. -Suppressed 45655 warnings (45653 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 778/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/prev.cpp -45983 warnings generated. -Suppressed 45985 warnings (45983 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 779/1170][111.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_odd.cpp -58373 warnings generated. -Suppressed 58375 warnings (58373 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 780/1170][121.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_positive.cpp -55503 warnings generated. -Suppressed 55505 warnings (55503 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 781/1170][43.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_, rbr::option>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:22:12)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, udt::point2D>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:69:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:81:24)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, double>, eve::algo::views::converting_iterator>, double>>, eve::algo::ptr_iterator>>, eve::algo::not_p>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_, rbr::option>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:84:13: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 84 | std::array arr; - | ^ - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, std::__wrap_iter> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:26:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 26 | (std::all_of(v.begin(), v.end(), p)) - | ^~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::all_of v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:30:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 30 | (std::any_of(v.begin(), v.end(), p)) - | ^~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::any_of v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:34:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 34 | (std::none_of(v.begin(), v.end(), p)) - | ^~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::none_of v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:38:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 38 | (std::find_if(v.begin(), v.end(), p)) - | ^~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::find_if v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:42:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 42 | (std::find_if_not(v.begin(), v.end(), p)) - | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::find_if_not v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:46:6: warning: use a ranges version of this algorithm [modernize-use-ranges] - 46 | (std::find(v.begin(), v.end(), 1)) - | ^~~~~~~~~ ~~~~~~~~~ ~~~~~~~ - | std::ranges::find v -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1134:60: note: expanded from macro 'TTS_EQUAL' - 1134 | #define TTS_EQUAL(LHS, RHS, ...) TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1125:79: note: expanded from macro 'TTS_RELATION' - 1125 | #define TTS_RELATION(A, B, OP, T, F, ...) TTS_RELATION_ ## __VA_ARGS__ (A,B,OP,T,F) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1126:67: note: expanded from macro 'TTS_RELATION_' - 1126 | #define TTS_RELATION_(A, B, OP, T, F) TTS_RELATION_IMPL(A,B,OP,T,F,TTS_FAIL) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1132:5: note: expanded from macro 'TTS_RELATION_IMPL' - 1132 | }(A,B) \ - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:53:3: warning: use auto when declaring iterators [hicpp-use-auto,modernize-use-auto] - 53 | std::vector::const_iterator found = eve::algo::find[eve::algo::no_aligning](v, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/find_like_special_cases.cpp:56:3: warning: use auto when declaring iterators [hicpp-use-auto,modernize-use-auto] - 56 | std::vector::const_iterator found_b = eve::algo::find_last[eve::algo::no_aligning](v, 3); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | auto -58284 warnings generated. -Suppressed 57495 warnings (57493 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 782/1170][153.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/broadcast.cpp -57563 warnings generated. -Suppressed 57565 warnings (57563 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 783/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/lcm.cpp -/Users/sadiinso/unsync/eve/test/doc/combinatorial/lcm.cpp:5:59: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->float{ return (i-c/2);}); - | ^ -46171 warnings generated. -Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 784/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/mantissa.cpp -45717 warnings generated. -Suppressed 45719 warnings (45717 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 785/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_1.cpp -47526 warnings generated. -Suppressed 47528 warnings (47526 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 786/1170][74.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/asinh.cpp -54052 warnings generated. -Suppressed 54054 warnings (54052 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 787/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negabsmax.cpp -46324 warnings generated. -Suppressed 46326 warnings (46324 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 788/1170][12.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/roundscale.cpp -45816 warnings generated. -Suppressed 45818 warnings (45816 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 789/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sum_of_prod.cpp -55826 warnings generated. -Suppressed 55828 warnings (55826 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 790/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_lessgreater.cpp -46242 warnings generated. -Suppressed 46244 warnings (46242 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 791/1170][354.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/rem.cpp -60499 warnings generated. -Suppressed 60501 warnings (60499 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 792/1170][94.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cscd.cpp -54652 warnings generated. -Suppressed 54654 warnings (54652 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 793/1170][37.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/glaisher.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 794/1170][110.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/beta.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -56504 warnings generated. -Suppressed 56499 warnings (56497 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 795/1170][57.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/mantissa.cpp -52596 warnings generated. -Suppressed 52598 warnings (52596 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 796/1170][15.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/absmin.cpp -46200 warnings generated. -Suppressed 46202 warnings (46200 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 797/1170][9.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp:19:3: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 19 | std::array::size()-1> data; - | ^ - | {} -/Users/sadiinso/unsync/eve/examples/tutorial/load_between.cpp:20:56: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'value_type' (aka 'float') [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 20 | for(std::size_t i=0; i < data.size(); ++i) data[i] = 1+i; - | ^ -44996 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 798/1170][38.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_sqrt_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 799/1170][107.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_ngtz.cpp -58151 warnings generated. -Suppressed 58153 warnings (58151 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 800/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp:60:35: warning: 'r' used after it was forwarded [bugprone-use-after-move,hicpp-invalid-access-moved] - 60 | auto cf = eve::views::convert(r.begin(), tgt); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/convert.cpp:46:47: note: forward occurred here - 46 | eve::algo::relaxed_range auto converted = eve::views::convert(std::forward(r), tgt); - | ^ -53084 warnings generated. -Suppressed 52532 warnings (52530 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 801/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/signgam.cpp -45782 warnings generated. -Suppressed 45784 warnings (45782 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 802/1170][181.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_int32.cpp -53664 warnings generated. -Suppressed 53666 warnings (53664 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 803/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqmz.cpp -45862 warnings generated. -Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 804/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/element_type.cpp -51168 warnings generated. -Suppressed 51170 warnings (51168 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 805/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/inf.cpp -44963 warnings generated. -Suppressed 44965 warnings (44963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 806/1170][107.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nltz.cpp -58109 warnings generated. -Suppressed 58111 warnings (58109 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 807/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_2pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 808/1170][113.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_and.cpp -59021 warnings generated. -Suppressed 59023 warnings (59021 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 809/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_y1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -47279 warnings generated. -Suppressed 47273 warnings (47271 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 810/1170][754.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/decorated.rem.cpp -66402 warnings generated. -Suppressed 66404 warnings (66402 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 811/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_swap_adjacent.cpp -45439 warnings generated. -Suppressed 45441 warnings (45439 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 812/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/combinatorial/bernouilli.cpp -45974 warnings generated. -Suppressed 45976 warnings (45974 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 813/1170][93.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int16.cpp -53306 warnings generated. -Suppressed 53308 warnings (53306 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 814/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinhc.cpp -46457 warnings generated. -Suppressed 46459 warnings (46457 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 815/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_int8.cpp -53392 warnings generated. -Suppressed 53394 warnings (53392 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 816/1170][60.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acotd.cpp -53373 warnings generated. -Suppressed 53375 warnings (53373 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 817/1170][38.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog_phi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 818/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/gamma_p.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -47182 warnings generated. -Suppressed 47181 warnings (47179 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 819/1170][126.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_j1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -56555 warnings generated. -Suppressed 56550 warnings (56548 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 820/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ternary.cpp -45127 warnings generated. -Suppressed 45129 warnings (45127 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 821/1170][24.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:21:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 21 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:22:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 22 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:32:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 32 | eve::wide lhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:33:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 33 | eve::wide rhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:46:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 46 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:47:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 47 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:57:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 57 | eve::wide lhs = [](int i, int) { return udt::label_position{i/1.5f, std::uint8_t('A'+i)}; }; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:58:84: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 58 | eve::wide rhs = [](int i, int) { return udt::label_position{i/2.3f, std::uint8_t('A'+i)}; }; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:71:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 71 | eve::wide lhs = [](int i, int) { return udt::grid2d{i%2, i%5 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:72:67: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 72 | eve::wide rhs = [](int i, int) { return udt::grid2d{i%3, i%3 ? -1 : 1}; }; - | ^~~~~~~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:96:38: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 96 | return udt::label_position{i%2 ? i : 1.5f, std::uint8_t('A'+i%2)}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/comparison.cpp:101:45: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 101 | return udt::label_position{i%3 ? 2.3f : i, std::uint8_t('A'+i%3)}; - | ^ -51467 warnings generated. -Suppressed 51439 warnings (51437 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 822/1170][13.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp2.cpp -46196 warnings generated. -Suppressed 46198 warnings (46196 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 823/1170][159.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_less_equal.cpp -59726 warnings generated. -Suppressed 59728 warnings (59726 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 824/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/swap_if.cpp -45019 warnings generated. -Suppressed 45021 warnings (45019 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 825/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nez.cpp -46170 warnings generated. -Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 826/1170][119.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/exp.cpp -54673 warnings generated. -Suppressed 54675 warnings (54673 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 827/1170][70.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/load/tuple.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -54374 warnings generated. -Suppressed 54339 warnings (54337 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 828/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp10.cpp -45989 warnings generated. -Suppressed 45991 warnings (45989 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 829/1170][105.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfc.cpp -54984 warnings generated. -Suppressed 54986 warnings (54984 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 830/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/aligned_allocator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -51443 warnings generated. -Suppressed 51405 warnings (51403 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 831/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/oneminus.cpp -47033 warnings generated. -Suppressed 47035 warnings (47033 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 832/1170][108.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/zip.cpp -53688 warnings generated. -Suppressed 53690 warnings (53688 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 833/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countl_zero.cpp -45363 warnings generated. -Suppressed 45365 warnings (45363 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 834/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/smallestposval.cpp -44993 warnings generated. -Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 835/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cospi.cpp -46253 warnings generated. -Suppressed 46255 warnings (46253 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 836/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/oop/complex_numbers__declaring_an_object_type.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, cmplx>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, cmplx>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, cmplx>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, cmplx>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, cmplx>, eve::algo::views::converting_iterator, cmplx>> &, cmplx>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, cmplx>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:998:55: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] - 998 | else return l == r; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1060:50: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] - 1060 | else if(scimode) os << std::scientific << e << std::defaultfloat; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1061:13: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] - 1061 | os << e; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -54874 warnings generated. -Suppressed 54180 warnings (54178 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 837/1170][30.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/erase_remove.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::point2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::point2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::point2D>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::point2D>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, udt::line2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::line2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::point2D>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::point2D>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, udt::line2D>, eve::algo::views::converting_iterator, udt::line2D>> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, udt::point2D>, eve::algo::views::converting_iterator, udt::point2D>> &, udt::point2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::line2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::point2D>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -57631 warnings generated. -Suppressed 56743 warnings (56741 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 838/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/asecd.cpp -46279 warnings generated. -Suppressed 46281 warnings (46279 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 839/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_nan.cpp -46168 warnings generated. -Suppressed 46170 warnings (46168 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 840/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_i0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -46756 warnings generated. -Suppressed 46750 warnings (46748 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 841/1170][113.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_finite.cpp -57225 warnings generated. -Suppressed 57227 warnings (57225 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 842/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/signnz.cpp -46119 warnings generated. -Suppressed 46121 warnings (46119 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 843/1170][51.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/firstbitunset.cpp -53996 warnings generated. -Suppressed 53998 warnings (53996 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 844/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/find.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::equal_to> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/find.cpp:18:42)>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::is_eqz_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52009 warnings generated. -Suppressed 51549 warnings (51547 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 845/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/lfactorial.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/special/lfactorial.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); - | ^ -47478 warnings generated. -Suppressed 47476 warnings (47474 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 846/1170][21.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/horn.cpp -51588 warnings generated. -Suppressed 51590 warnings (51588 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 847/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/minf.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 848/1170][32.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/max_value_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 64 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:64:12: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 70 | *it = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:70:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 72 | *it = filler; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:72:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 78 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 79 | if( l != page_end ) *l = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -54967 warnings generated. -Suppressed 53972 warnings (53970 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 849/1170][22.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/linspace.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:43:5: warning: constructor does not initialize these fields: base, step, i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 38 | value_type base; - | - | {} - 39 | value_type step; - | - | {} - 40 | std::ptrdiff_t i; - | - | {} - 41 | wv_type wide_cur; - 42 | - 43 | iota_with_step_iterator() = default; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52767 warnings generated. -Suppressed 52274 warnings (52272 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 850/1170][391.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sort.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/sort.cpp:21:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 21 | eve::stack_buffer buf; - | ^ - | {} -68752 warnings generated. -Suppressed 68668 warnings (68666 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 851/1170][38.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_2pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 852/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sign_alternate.cpp -46139 warnings generated. -Suppressed 46141 warnings (46139 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 853/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_flint.cpp -46328 warnings generated. -Suppressed 46330 warnings (46328 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 854/1170][20.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/intro-02.cpp -/Users/sadiinso/unsync/eve/examples/tutorial/intro-02.cpp:43:5: warning: use a ranges version of this algorithm [modernize-use-ranges] - 8 | std::transform( xs.begin(), xs.end(), ys.begin(), out.begin() - | ^~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~ - | std::ranges::transform xs -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -53947 warnings generated. -Suppressed 53422 warnings (53420 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 855/1170][518.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:22:5: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 22 | eve::stack_buffer buf; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:39:5: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 39 | eve::stack_buffer buf; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:61:3: warning: uninitialized record type: 'buf1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 61 | eve::stack_buffer buf1; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:63:3: warning: uninitialized record type: 'buf2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 63 | eve::stack_buffer buf2; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:65:3: warning: uninitialized record type: 'buf3' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 65 | eve::stack_buffer buf3; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/stack_buffer.cpp:67:3: warning: uninitialized record type: 'buf4' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 67 | eve::stack_buffer buf4; - | ^ - | {} -60539 warnings generated. -Suppressed 59849 warnings (59847 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 856/1170][8.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_object_from.cpp -45022 warnings generated. -Suppressed 45024 warnings (45022 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 857/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sec.cpp -47210 warnings generated. -Suppressed 47212 warnings (47210 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 858/1170][82.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sindcosd.cpp -54805 warnings generated. -Suppressed 54807 warnings (54805 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 859/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nltz.cpp -46205 warnings generated. -Suppressed 46207 warnings (46205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 860/1170][134.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/trunc.cpp -55898 warnings generated. -Suppressed 55900 warnings (55898 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 861/1170][89.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cosh.cpp -54325 warnings generated. -Suppressed 54327 warnings (54325 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 862/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/factorial.cpp -/Users/sadiinso/unsync/eve/test/doc/special/factorial.cpp:7:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 7 | eve::wide wf([](auto i, auto c)->float{ return 2*(i+c/2);}); - | ^ -45726 warnings generated. -Suppressed 45727 warnings (45725 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 863/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mask.cpp -45267 warnings generated. -Suppressed 45269 warnings (45267 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 864/1170][14.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fms.cpp -48073 warnings generated. -Suppressed 48075 warnings (48073 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 865/1170][32.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_value_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>, rbr::option>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, double, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned char, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, unsigned short, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 44 | *(l - 1) = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 49 | *it = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 51 | *it = filler; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 78 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 79 | if( l != page_end ) *l = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -54967 warnings generated. -Suppressed 53972 warnings (53970 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 866/1170][25.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/fill_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, double *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, int *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, short *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, unsigned char *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, eve::aligned_ptr>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>, unsigned short *>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53666 warnings generated. -Suppressed 53022 warnings (53020 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 867/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/three_fma.cpp -45584 warnings generated. -Suppressed 45586 warnings (45584 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 868/1170][35.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/identity.cpp -52205 warnings generated. -Suppressed 52207 warnings (52205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 869/1170][28.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/set_intersection_r2_small_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::set_intersection_r2_small_>, rbr::option>>>>>::delegate>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, std::vector &, eve::is_less_t>, eve::is_equal_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>, rbr::flag_keyword>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'eve::algo::preprocess_range_result>, rbr::option>, rbr::option, kumi::tuple>>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'std::vector &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54307 warnings generated. -Suppressed 53631 warnings (53629 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 870/1170][24.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqpz.cpp -52372 warnings generated. -Suppressed 52374 warnings (52372 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 871/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/saturate.cpp -45200 warnings generated. -Suppressed 45202 warnings (45200 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 872/1170][219.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:20:39), (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 166 | bool main_check(unaligned_t haystack_i) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 187 | bool small_check(wide_value_type_t haystack) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_one_generic.cpp:18:5: warning: uninitialized record type: 'fake' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 18 | std::array fake; - | ^ - | {} -55948 warnings generated. -Suppressed 54441 warnings (54439 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 873/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/blend.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51163 warnings generated. -Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 874/1170][74.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/coth.cpp -53520 warnings generated. -Suppressed 53522 warnings (53520 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 875/1170][8.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/CMakeFiles/doc_pch.dir/cmake_pch.hxx.cxx -47766 warnings generated. -Suppressed 47768 warnings (47766 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 876/1170][32.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/newton.cpp -54631 warnings generated. -Suppressed 54633 warnings (54631 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 877/1170][36.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/quarter.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 878/1170][18.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/max.hpp:105:14), kumi::tuple, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/core/regular/impl/min.hpp:110:14), kumi::tuple, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:156:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 156 | auto v = *min_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53278 warnings generated. -Suppressed 52817 warnings (52815 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 879/1170][40.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/copysign.cpp -52601 warnings generated. -Suppressed 52603 warnings (52601 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 880/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cscpi.cpp -46414 warnings generated. -Suppressed 46416 warnings (46414 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 881/1170][81.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_reverse.cpp -55908 warnings generated. -Suppressed 55910 warnings (55908 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 882/1170][78.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acsc.cpp -53332 warnings generated. -Suppressed 53334 warnings (53332 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 883/1170][9.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/fundamental_cardinal.cpp -51102 warnings generated. -Suppressed 51104 warnings (51102 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 884/1170][35.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/reverse_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::ptr_iterator>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<2>>>, eve::algo::views::reverse_iterator>>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>>, eve::algo::views::reverse_iterator>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<16>>>, eve::algo::views::reverse_iterator>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<4>>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::fixed<8>>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>>, eve::algo::views::reverse_iterator>>> &, unsigned short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -56284 warnings generated. -Suppressed 55207 warnings (55205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 885/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rshl.cpp -45277 warnings generated. -Suppressed 45279 warnings (45277 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 886/1170][34.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/min_element_generic_one_pass.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::min_element_1_pass_>, rbr::option>, rbr::flag_keyword>>>>::delegate>, eve::is_less_t>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'eve::is_less_t> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 44 | *(l - 1) = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:44:18: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 49 | *it = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:49:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 51 | *it = filler; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:51:13: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 78 | *f = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:78:10: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] - 79 | if( l != page_end ) *l = looking_for; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/minmax_generic_test.hpp:79:30: warning: 'signed char' to 'unsigned short' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse] -56908 warnings generated. -Suppressed 55671 warnings (55669 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 887/1170][93.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/significants.cpp -54767 warnings generated. -Suppressed 54769 warnings (54767 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 888/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/transform.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46957 warnings generated. -Suppressed 46554 warnings (46552 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 889/1170][149.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bitofsign.cpp -56292 warnings generated. -Suppressed 56294 warnings (56292 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 890/1170][128.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/rising_factorial.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -57682 warnings generated. -Suppressed 57677 warnings (57675 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 891/1170][45.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp:49:3: warning: uninitialized record type: 'expected' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 49 | std::array expected; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/iota.cpp:52:3: warning: uninitialized record type: 'actual' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 52 | std::array actual; - | ^ - | {} -53625 warnings generated. -Suppressed 53131 warnings (53129 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 892/1170][425.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fsnm.cpp -72244 warnings generated. -Suppressed 72246 warnings (72244 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 893/1170][100.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erf.cpp -55226 warnings generated. -Suppressed 55228 warnings (55226 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 894/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rem.cpp -45950 warnings generated. -Suppressed 45952 warnings (45950 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 895/1170][145.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_less_equal.cpp -59399 warnings generated. -Suppressed 59401 warnings (59399 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 896/1170][11.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_not.cpp -46065 warnings generated. -Suppressed 46067 warnings (46065 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 897/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cscd.cpp -46515 warnings generated. -Suppressed 46517 warnings (46515 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 898/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cbrt.cpp -46036 warnings generated. -Suppressed 46038 warnings (46036 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 899/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/valmin.cpp -44991 warnings generated. -Suppressed 44993 warnings (44991 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 900/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotl.cpp -45380 warnings generated. -Suppressed 45382 warnings (45380 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 901/1170][127.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/floor.cpp -55476 warnings generated. -Suppressed 55478 warnings (55476 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 902/1170][12.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_greater_equal.cpp -46330 warnings generated. -Suppressed 46332 warnings (46330 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 903/1170][60.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_select.cpp -54936 warnings generated. -Suppressed 54938 warnings (54936 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 904/1170][33.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:125:3), eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:24:15), kumi::tuple, eve::wide, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:101:12), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:107:12), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:115:9), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:142:3), (lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:142:3), eve::zero_t>, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::transform_reduce_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/sums_special_cases.cpp:90:10), eve::add_t>, eve::zero_t>, eve::wide>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54709 warnings generated. -Suppressed 54228 warnings (54226 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 905/1170][37.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_egamma.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 906/1170][131.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atan2.cpp -54267 warnings generated. -Suppressed 54269 warnings (54267 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 907/1170][52.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/maxlog.cpp -54568 warnings generated. -Suppressed 54570 warnings (54568 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 908/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tanh.cpp -46165 warnings generated. -Suppressed 46167 warnings (46165 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 909/1170][73.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atanh.cpp -53750 warnings generated. -Suppressed 53752 warnings (53750 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 910/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sinc.cpp -46958 warnings generated. -Suppressed 46960 warnings (46958 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 911/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_gez.cpp -46170 warnings generated. -Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 912/1170][21.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/optimize_pattern.cpp -54806 warnings generated. -Suppressed 54808 warnings (54806 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 913/1170][52.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlog10.cpp -55005 warnings generated. -Suppressed 55007 warnings (55005 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 914/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nextafter.cpp -46677 warnings generated. -Suppressed 46679 warnings (46677 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 915/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_select.cpp -45064 warnings generated. -Suppressed 45066 warnings (45064 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 916/1170][37.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 917/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/limitexponent.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 918/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/average.cpp -47440 warnings generated. -Suppressed 47442 warnings (47440 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 919/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/geommean.cpp -46721 warnings generated. -Suppressed 46723 warnings (46721 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 920/1170][15.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/rising_factorial.cpp -47138 warnings generated. -Suppressed 47140 warnings (47138 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 921/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress.cpp -/Users/sadiinso/unsync/eve/test/doc/core/compress/compress.cpp:86:15: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'value_type' (aka 'int') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 86 | in[i] = i; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -50948 warnings generated. -Suppressed 50883 warnings (50881 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 922/1170][42.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/invlog10_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 923/1170][12.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acosh.cpp -45699 warnings generated. -Suppressed 45701 warnings (45699 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 924/1170][36.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/zero.cpp -52237 warnings generated. -Suppressed 52239 warnings (52237 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 925/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_andnot.cpp -45887 warnings generated. -Suppressed 45889 warnings (45887 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 926/1170][19.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/copy_if.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52592 warnings generated. -Suppressed 52130 warnings (52128 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 927/1170][44.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/pi.cpp -52963 warnings generated. -Suppressed 52965 warnings (52963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 928/1170][8.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp -/Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp:6:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 6 | float data[2*eve::wide::size()] = {}; - | ^ -/Users/sadiinso/unsync/eve/test/doc/core/scatter.cpp:11:24: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,hicpp-no-array-decay] - 11 | eve::scatter(values, data, indexes); - | ^ -44967 warnings generated. -Suppressed 44964 warnings (44962 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 929/1170][833.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_driver_intergration.cpp -68099 warnings generated. -Suppressed 68101 warnings (68099 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 930/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/nofs.cpp -51123 warnings generated. -Suppressed 51125 warnings (51123 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 931/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/supports_bmi.cpp -51098 warnings generated. -Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 932/1170][128.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cosd.cpp -54907 warnings generated. -Suppressed 54909 warnings (54907 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 933/1170][78.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinpicospi.cpp -54576 warnings generated. -Suppressed 54578 warnings (54576 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 934/1170][87.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/tchebytchev.cpp -/Users/sadiinso/unsync/eve/test/unit/module/polynomial/tchebytchev.cpp:54:8: warning: declaration uses identifier 'eve__tchebytchev', which is a reserved identifier [bugprone-reserved-identifier] - 54 | auto eve__tchebytchev = [](uint32_t n, auto x) { return eve::tchebytchev(n, x); }; - | ^~~~~~~~~~~~~~~~ - | eve_tchebytchev - 55 | for( unsigned int n = 0; n < 6; ++n ) - 56 | { - 57 | auto boost_tchebytchev = [&](auto e, auto i) - 58 | { return boost::math::chebyshev_t((unsigned int)i, e); }; - 59 | TTS_ULP_EQUAL(eve__tchebytchev(n, a0), tts::map(boost_tchebytchev, a0, n), 320); - | ~~~~~~~~~~~~~~~~ - | eve_tchebytchev - 60 | TTS_ULP_EQUAL(eve__tchebytchev(n, a1), tts::map(boost_tchebytchev, a1, n), 320); - | ~~~~~~~~~~~~~~~~ - | eve_tchebytchev -59960 warnings generated. -Suppressed 59961 warnings (59959 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 935/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/max_scalar_size.cpp -/Users/sadiinso/unsync/eve/test/unit/meta/traits/max_scalar_size.cpp:24:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 24 | not_literal(int n) : kumi::tuple{6.98,n} {} - | ^ - | explicit -51194 warnings generated. -Suppressed 51195 warnings (51193 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 936/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/log1p.cpp -45917 warnings generated. -Suppressed 45919 warnings (45917 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 937/1170][14.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/pow_abs.cpp -46520 warnings generated. -Suppressed 46522 warnings (46520 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 938/1170][102.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/signnz.cpp -57976 warnings generated. -Suppressed 57978 warnings (57976 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 939/1170][14.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fdim.cpp -46206 warnings generated. -Suppressed 46208 warnings (46206 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 940/1170][10.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/count_true.cpp -45265 warnings generated. -Suppressed 45267 warnings (45265 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 941/1170][96.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/gd.cpp -54062 warnings generated. -Suppressed 54064 warnings (54062 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 942/1170][537.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/combinatorial/prime_floor.cpp -55178 warnings generated. -Suppressed 55180 warnings (55178 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 943/1170][39.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sixth.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 944/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j0.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j0.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -47181 warnings generated. -Suppressed 47175 warnings (47173 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 945/1170][65.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/polynomial/laguerre.cpp -/Users/sadiinso/unsync/eve/test/unit/module/polynomial/laguerre.cpp:50:8: warning: declaration uses identifier 'eve__laguerrev', which is a reserved identifier [bugprone-reserved-identifier] - 50 | auto eve__laguerrev = [](auto n, auto x) { return eve::laguerre(n, x); }; - | ^~~~~~~~~~~~~~ - | eve_laguerrev - 51 | for( unsigned int n = 0; n < 5; ++n ) - 52 | { - 53 | auto std_laguerre = [&](auto i, auto) { return NAMESPACE::laguerre(n, a0.get(i)); }; - 54 | TTS_ULP_EQUAL(eve__laguerrev(n, a0), T(std_laguerre), 8192); - | ~~~~~~~~~~~~~~ - | eve_laguerrev - 55 | } - 56 | auto std_laguerrev = [&](auto i, auto) { return NAMESPACE::laguerre(i0.get(i), a0.get(i)); }; - 57 | TTS_RELATIVE_EQUAL(eve__laguerrev(i0, a0), T(std_laguerrev), 0.01); - | ~~~~~~~~~~~~~~ - | eve_laguerrev - 58 | for( unsigned int j = 0; j < eve::cardinal_v; ++j ) - 59 | { - 60 | auto std_laguerre2 = [&](auto i, auto) - 61 | { return NAMESPACE::laguerre(i0.get(i), a0.get(j)); }; - 62 | TTS_RELATIVE_EQUAL(eve__laguerrev(i0, a0.get(j)), T(std_laguerre2), 0.01); - | ~~~~~~~~~~~~~~ - | eve_laguerrev -55445 warnings generated. -Suppressed 55446 warnings (55444 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 946/1170][35.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/of_class.cpp -52616 warnings generated. -Suppressed 52618 warnings (52616 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 947/1170][418.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fms.cpp -74606 warnings generated. -Suppressed 74608 warnings (74606 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 948/1170][15.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/tgamma.cpp -47025 warnings generated. -Suppressed 47027 warnings (47025 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 949/1170][26.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_eqmz.cpp -52448 warnings generated. -Suppressed 52450 warnings (52448 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 950/1170][84.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acosh.cpp -53788 warnings generated. -Suppressed 53790 warnings (53788 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 951/1170][17.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:111:42: warning: uninitialized record type: 'c' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 111 | alignas(sizeof(std::int8_t) * N{}()) std::array c; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:112:42: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 112 | alignas(sizeof(std::uint32_t) * N{}()) std::array i; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:200:3: warning: uninitialized record type: 'c' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 200 | std::array c; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/preprocess_zip_range.cpp:201:3: warning: uninitialized record type: 'i' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 201 | std::array i; - | ^ - | {} -54043 warnings generated. -Suppressed 53467 warnings (53465 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 952/1170][97.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rg.cpp -58580 warnings generated. -Suppressed 58582 warnings (58580 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 953/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/bitincrement.cpp -44992 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 954/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_not.cpp -45202 warnings generated. -Suppressed 45204 warnings (45202 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 955/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/equal.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52279 warnings generated. -Suppressed 51815 warnings (51813 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 956/1170][10.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sum_of_prod.cpp -45467 warnings generated. -Suppressed 45469 warnings (45467 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 957/1170][27.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_fwd.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>, rbr::option>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53998 warnings generated. -Suppressed 53472 warnings (53470 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 958/1170][17.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sort.cpp -47532 warnings generated. -Suppressed 47534 warnings (47532 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 959/1170][41.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:75:41: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 75 | eve::wide vp{ udt::grid2d{+6,-9} }; - | ^~~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:94:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 94 | eve::wide vp = [](int i, int c) { return udt::grid2d{i,c-i-1}; }; - | ^~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:101:36: warning: narrowing conversion from 'int' to 'float' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 101 | return udt::label_position{1.f/(1+i),std::uint8_t('A'+i)}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:120:57: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 120 | return eve::wide( udt::grid2d{N,sz-N-1}...); - | ^~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:147:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 147 | int data[eve::wide::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:204:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 204 | eve::wide vp = [](int i, int c) { return udt::grid2d{ i, c -i-1}; }; - | ^~~~~~~~~~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:205:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 205 | eve::wide vl = [](int i, int c) { return udt::grid2d{ i, c+s-i-1}; }; - | ^~~~~~~~~~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:206:76: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 206 | eve::wide vh = [](int i, int ) { return udt::grid2d{s+i, s-i-1}; }; - | ^~~~~~~~~~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:231:51: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 231 | w_t vp = [](int i, int c) { return udt::grid2d{ i, c -i-1}; }; - | ^~~~~~~~~~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/udt/wide.cpp:247:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 247 | eve::wide vp = [](int i, int c) { return udt::grid2d{ i, c-i-1}; }; - | ^~~~~~~~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -51948 warnings generated. -Suppressed 51935 warnings (51933 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 960/1170][163.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_greater_equal.cpp -59724 warnings generated. -Suppressed 59726 warnings (59724 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 961/1170][9.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/test_pch.cpp -51097 warnings generated. -Suppressed 51099 warnings (51097 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 962/1170][18.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp:71:15: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 71 | alignas(64) std::array buf; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/two_stage_iteration.cpp:82:10: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 82 | return std::string(buf.data()); - | ^~~~~~~~~~~~ ~ - | { } -52323 warnings generated. -Suppressed 51939 warnings (51937 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 963/1170][161.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_wide_diff_logicals.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:24:3: warning: uninitialized record type: 'x' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 24 | eve::stack_buffer x; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:32:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 32 | std::array, T::size()> r; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_test.hpp:47:3: warning: uninitialized record type: 'r' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 47 | std::array, T::size()> r; - | ^ - | {} -64402 warnings generated. -Suppressed 59244 warnings (59242 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 964/1170][15.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_j1.cpp:5:63: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf0([](auto i, auto c)->double{ return 2*(i-c/2);}); - | ^ -47157 warnings generated. -Suppressed 47151 warnings (47149 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 965/1170][48.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/hi.cpp -53915 warnings generated. -Suppressed 53917 warnings (53915 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 966/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fam.cpp -48010 warnings generated. -Suppressed 48012 warnings (48010 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 967/1170][106.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sec.cpp -55829 warnings generated. -Suppressed 55831 warnings (55829 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 968/1170][14.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/max.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:72:57: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 72 | set_found(arr[0] + pos * iterator_cardinal_v, *match); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::backward_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_last_if_>>>>>::delegate>, eve::algo::not_p>, int>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::reduce_>>>>>::delegate>, int, eve::wide> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:22:15: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 22 | auto v = *max_value[TraitsSupport::get_traits()](EVE_FWD(rng), less); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/doc/algo/max.cpp:15:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 15 | << *eve::algo::max_value(v) << "\n"; - | ^ -/Users/sadiinso/unsync/eve/test/doc/algo/max.cpp:21:17: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 21 | << *eve::algo::max_value(v, eve::is_greater) << "\n"; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52416 warnings generated. -Suppressed 51935 warnings (51933 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 969/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/digamma.cpp -46757 warnings generated. -Suppressed 46759 warnings (46757 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 970/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_and.cpp -45218 warnings generated. -Suppressed 45220 warnings (45218 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 971/1170][11.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/swap_pairs.cpp -45413 warnings generated. -Suppressed 45415 warnings (45413 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 972/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acscpi.cpp -45577 warnings generated. -Suppressed 45579 warnings (45577 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 973/1170][11.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_flip.cpp -45193 warnings generated. -Suppressed 45195 warnings (45193 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 974/1170][163.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_not_greater.cpp -59719 warnings generated. -Suppressed 59721 warnings (59719 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 975/1170][21.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/combining_zip_map_and_algos.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::algo::range_ref_wrapper>>, (lambda at /Users/sadiinso/unsync/eve/examples/algorithms/using_existing/combining_zip_map_and_algos.cpp:27:39), eve::algo::nothing_t> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/test.hpp:289:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 289 | constant(F f) : F(f) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:386:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 386 | as_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:399:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 399 | as_signed_integer(G g) : generator_(g) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/test.hpp:453:17: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:25: warning: forwarding reference parameter 'wm' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:453:39: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 453 | auto map(Fn&& f, Wm&& wm, Args&&... args) -> eve::as_wide_t> - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:466:5: warning: function 'main' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 466 | int main(int argc, char const **argv) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: warning: function 'eve_entry_point' defined in a header file; function definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:298:5: note: make as 'inline' - 298 | int TTS_CUSTOM_DRIVER_FUNCTION([[maybe_unused]] int argc,[[maybe_unused]] char const** argv) - | ^ - | inline -/Users/sadiinso/unsync/eve/test/test.hpp:10:36: note: expanded from macro 'TTS_CUSTOM_DRIVER_FUNCTION' - 10 | #define TTS_CUSTOM_DRIVER_FUNCTION eve_entry_point - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -55264 warnings generated. -Suppressed 54679 warnings (54677 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 976/1170][125.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/betainc_inv.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -58047 warnings generated. -Suppressed 58042 warnings (58040 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 977/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_nan.cpp -52360 warnings generated. -Suppressed 52362 warnings (52360 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 978/1170][16.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/lentz_b.cpp -/Users/sadiinso/unsync/eve/test/doc/math/lentz_b.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 15 | tan_fraction(T v) : a(-v * v), b(-1) {} - | ^ - | explicit -46510 warnings generated. -Suppressed 46511 warnings (46509 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 979/1170][93.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/secpi.cpp -54492 warnings generated. -Suppressed 54494 warnings (54492 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 980/1170][15.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward.cpp:93:3: warning: uninitialized record type: 'a' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 93 | std::array> a; - | ^ - | {} -52535 warnings generated. -Suppressed 52102 warnings (52100 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 981/1170][114.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward_eve_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/backward_eve_iterator.cpp:30:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 30 | alignas(sizeof(T)) std::array, T::size()> data; - | ^ - | {} -54230 warnings generated. -Suppressed 53483 warnings (53481 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 982/1170][66.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:172:5: warning: function 'get_allocator' should be marked [[nodiscard]] [modernize-use-nodiscard] - 172 | Allocator get_allocator() const { return data_.get_deleter(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>>, udt::grid2d>>, eve::algo::views::backward_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>, eve::algo::views::converting_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>>, kumi::tuple, double>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>, eve::algo::views::converting_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, udt::grid2d>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::algo::ptr_iterator>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>, eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, kumi::tuple, double>>, eve::algo::views::converting_iterator, kumi::tuple, double>>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, udt::grid2d>, eve::algo::views::converting_iterator, udt::grid2d>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, eve::algo::views::zip_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate, double>> &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::fill_delegate &>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>, eve::aligned_ptr>>, kumi::tuple, double>>, eve::algo::views::converting_iterator, kumi::tuple, double>>> &, kumi::tuple, double>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>>, udt::grid2d>, eve::algo::views::converting_iterator, udt::grid2d>> &, udt::grid2d>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>, eve::aligned_ptr>>, eve::algo::views::zip_iterator> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, kumi::tuple>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch, double>>> &, kumi::tuple, double>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, udt::grid2d>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:82:70: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 82 | eve::algo::soa_vector udt_vector ( 71, udt::grid2d{4,19} ); - | ^~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:100:39: warning: local copy 'tuple_copy' of the variable 'tuple_original' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] - 100 | , tuple_copy(tuple_original); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:103:39: warning: local copy 'nested_copy' of the variable 'nested_original' is never modified and never used; consider removing the statement [performance-unnecessary-copy-initialization] - 103 | , nested_copy(nested_original); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:105:70: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 105 | eve::algo::soa_vector udt_original ( 71, udt::grid2d{4,19} ) - | ^~~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:106:39: warning: local copy 'udt_copy' of the variable 'udt_original' is never modified; consider avoiding the copy [performance-unnecessary-copy-initialization] - 106 | , udt_copy(udt_original); - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:129:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 129 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:130:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 130 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:131:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 131 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:162:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 162 | eve::algo::soa_vector uv = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:163:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 163 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:164:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 164 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:192:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 192 | eve::algo::soa_vector uv = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:193:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 193 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:194:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 194 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:228:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 228 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:229:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 229 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:230:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 230 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:351:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 351 | eve::algo::soa_vector udt_vector = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:352:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 352 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:353:68: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 353 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:435:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 435 | eve::algo::soa_vector uv1 = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:436:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 436 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:437:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 437 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:492:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 492 | eve::algo::soa_vector uvref = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:493:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 493 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:494:60: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 494 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:516:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 516 | uv.push_back( udt::grid2d{1,2} ); - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:517:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 517 | uv.push_back( udt::grid2d{3,4} ); - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:518:28: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 518 | uv.push_back( udt::grid2d{5,8} ); - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:537:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 537 | eve::algo::soa_vector uv = { udt::grid2d{1,2} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:538:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 538 | , udt::grid2d{3,4} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:539:58: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 539 | , udt::grid2d{5,8} - | ^~~~~ - | .x= .y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:572:54: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 572 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, udt::grid2d{2, 2}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:604:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 604 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:604:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 604 | udt::grid2d{0, 0}, udt::grid2d{1, 1}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:605:16: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 605 | udt::grid2d{2, 2}, udt::grid2d{3, 3}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:605:35: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 605 | udt::grid2d{2, 2}, udt::grid2d{3, 3}, - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:631:33: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 631 | grids expected { udt::grid2d{0, 0}, udt::grid2d{1, 1} }; - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:631:52: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 631 | grids expected { udt::grid2d{0, 0}, udt::grid2d{1, 1} }; - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:638:26: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 638 | v.push_back(udt::grid2d{2, 2}); - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:642:33: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 642 | grids expected { udt::grid2d{0, 0}, udt::grid2d{2, 2} }; - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/container/soa_vector.cpp:642:52: warning: use designated initializer list to initialize 'grid2d' [modernize-use-designated-initializers] - 642 | grids expected { udt::grid2d{0, 0}, udt::grid2d{2, 2} }; - | ^~~~~~ - | .x=.y= -/Users/sadiinso/unsync/eve/test/unit/api/udt/udt.hpp:19:3: note: aggregate type is defined here - 19 | struct grid2d - | ^ -62370 warnings generated. -Suppressed 60597 warnings (60595 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 983/1170][28.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_inplace_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<2>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<16>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<8>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53716 warnings generated. -Suppressed 53112 warnings (53110 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 984/1170][221.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp:32:38: warning: either cast from 'int' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] - 32 | else return v_t(i + Shift) < 6; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_left.cpp:32:38: warning: either cast from 'int' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -56521 warnings generated. -Suppressed 56509 warnings (56507 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 985/1170][10.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/signmask.cpp -44992 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 986/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/logical_or.cpp -45222 warnings generated. -Suppressed 45224 warnings (45222 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 987/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/atan2d.cpp -45994 warnings generated. -Suppressed 45996 warnings (45994 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 988/1170][10.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/quadrant.cpp -/Users/sadiinso/unsync/eve/test/doc/math/quadrant.cpp:5:60: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); - | ^ -45125 warnings generated. -Suppressed 45126 warnings (45124 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 989/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sqr.cpp -46310 warnings generated. -Suppressed 46312 warnings (46310 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 990/1170][102.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/agm.cpp -54820 warnings generated. -Suppressed 54822 warnings (54820 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 991/1170][118.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/nearest.cpp -56565 warnings generated. -Suppressed 56567 warnings (56565 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 992/1170][299.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/average.cpp -64202 warnings generated. -Suppressed 64204 warnings (64202 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 993/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/named_shuffles/reverse_in_subgroups.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51115 warnings generated. -Suppressed 51052 warnings (51050 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 994/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/swap_ranges.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate>>>>>::op>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46348 warnings generated. -Suppressed 45950 warnings (45948 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 995/1170][14.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sub.cpp -47374 warnings generated. -Suppressed 47376 warnings (47374 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 996/1170][45.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrt_3.cpp -52966 warnings generated. -Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 997/1170][76.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rj.cpp -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 29 | auto next_interval(F const & f, L notdone, L1 test, R& r, Ts ... ts) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:29:8: warning: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 48 | auto last_interval(F const & f, L todo, R& r, Ts ... ts) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:48:8: warning: function 'last_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32), eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] - 98 | constexpr auto ellint_rj_(EVE_REQUIRES(cpu_), O const&, T x, T y, T z, T p) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options, rbr::option>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:98:20: warning: function 'ellint_rj_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 225 | auto br_pneg = [](auto xx, auto yy, auto zz, auto pp) // pp < 0 - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] - 259 | auto br_last = [](auto px, auto py, auto pz, auto pp) { return ellint_rj[raw](px, py, pz, pp); }; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:259:32: warning: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: - 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 40 | r = if_else(todo, f(ts...), r); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: - 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 40 | r = if_else(todo, f(ts...), r); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:27:62: note: example recursive call chain, starting from function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' - 27 | constexpr EVE_FORCEINLINE common_value_t operator()(T0 a, T1 b, T2 c, T3 d) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:30:14: note: Frame #1: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 30 | return this->behavior(as>{}, eve::current_api, this->options(), a, b, c, d); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #2: function 'behavior>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #3: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:33:38: note: Frame #5: function 'deferred_call>> &, eve::wide> &, const eve::wide> &, const eve::wide> &, const eve::wide> &, eve::asimd_>' calls function 'ellint_rj_>, eve::options>>>' here: - 33 | EVE_CALLABLE_OBJECT(ellint_rj_t, ellint_rj_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:241:21: note: Frame #6: function 'ellint_rj_>, eve::options>>>' calls function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' here: - 241 | notdone = next_interval(br_pneg, notdone, is_ltz(p), r, x, y, z, p); - | ^ -/Users/sadiinso/unsync/eve/include/eve/detail/hz_device.hpp:40:27: note: Frame #7: function 'next_interval<(lambda at /Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:225:26), eve::logical>>, eve::logical>>, eve::wide>, eve::wide>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 40 | r = if_else(todo, f(ts...), r); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: Frame #8: function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' calls function 'operator()>, eve::wide>, eve::wide>, eve::wide>>' here: - 233 | auto v = (pp - zz) * ellint_rj(xx, yy, zz, pp); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/elliptic/ellint_rj.hpp:233:36: note: ... which was the starting point of the recursive call chain; there may be other cycles -60161 warnings generated. -Suppressed 60100 warnings (60098 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 998/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/any_of.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/any_of.cpp:16:55)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::any_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52001 warnings generated. -Suppressed 51548 warnings (51546 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[ 999/1170][92.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/saturate/as_uint64.cpp -53333 warnings generated. -Suppressed 53335 warnings (53333 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1000/1170][37.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/inv_2pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1001/1170][137.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minus.cpp -57358 warnings generated. -Suppressed 57360 warnings (57358 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1002/1170][12.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_denormal.cpp -45862 warnings generated. -Suppressed 45864 warnings (45862 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1003/1170][74.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/roundscale.cpp -54550 warnings generated. -Suppressed 54552 warnings (54550 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1004/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/maxflint.cpp -45240 warnings generated. -Suppressed 45242 warnings (45240 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1005/1170][12.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_equal.cpp -46400 warnings generated. -Suppressed 46402 warnings (46400 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1006/1170][39.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/preprocess_range.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/preprocess_range.cpp:164:22: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 164 | alignas(sizeof(T)) std::array arr; - | ^ - | {} -53985 warnings generated. -Suppressed 53160 warnings (53158 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1007/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/add.cpp -46959 warnings generated. -Suppressed 46961 warnings (46959 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1008/1170][92.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rd.cpp -58749 warnings generated. -Suppressed 58751 warnings (58749 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1009/1170][116.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erf_inv.cpp -64652 warnings generated. -Suppressed 64654 warnings (64652 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1010/1170][12.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ordered.cpp -46209 warnings generated. -Suppressed 46211 warnings (46209 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1011/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_ceil.cpp -46614 warnings generated. -Suppressed 46616 warnings (46614 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1012/1170][34.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/horner.cpp -52383 warnings generated. -Suppressed 52385 warnings (52383 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1013/1170][32.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/radinpi.cpp -52141 warnings generated. -Suppressed 52143 warnings (52141 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1014/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/khinchin.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1015/1170][150.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow_abs.cpp -55854 warnings generated. -Suppressed 55856 warnings (55854 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1016/1170][73.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/tuple/swizzle/rotate.cpp -52565 warnings generated. -Suppressed 52567 warnings (52565 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1017/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acscd.cpp -45576 warnings generated. -Suppressed 45578 warnings (45576 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1018/1170][16.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/cos.cpp -47037 warnings generated. -Suppressed 47039 warnings (47037 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1019/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_in.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_in.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -47790 warnings generated. -Suppressed 47784 warnings (47782 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1020/1170][26.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_unit.cpp -52420 warnings generated. -Suppressed 52422 warnings (52420 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1021/1170][98.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_y1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -57221 warnings generated. -Suppressed 57216 warnings (57214 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1022/1170][14.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_infinite.cpp -46173 warnings generated. -Suppressed 46175 warnings (46173 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1023/1170][50.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ilogb.cpp -52976 warnings generated. -Suppressed 52978 warnings (52976 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1024/1170][102.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/cot.cpp -55488 warnings generated. -Suppressed 55490 warnings (55488 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1025/1170][31.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_copy_if_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:94:42: warning: the parameter 'test' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 94 | Test test) - | ^ - | const & -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -54497 warnings generated. -Suppressed 53897 warnings (53895 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1026/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_greater_equal.cpp -46360 warnings generated. -Suppressed 46362 warnings (46360 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1027/1170][133.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/count_true.cpp -52488 warnings generated. -Suppressed 52490 warnings (52488 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1028/1170][109.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:66:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:192:31: warning: uninitialized record type: 'data_1' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 192 | alignas(sizeof(t1) * N{}()) std::array data_1; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:193:31: warning: uninitialized record type: 'data_2' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 193 | alignas(sizeof(t2) * N{}()) std::array data_2; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/zip_iterator.cpp:194:31: warning: uninitialized record type: 'data_3' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 194 | alignas(sizeof(t3) * N{}()) std::array data_3; - | ^ - | {} -60011 warnings generated. -Suppressed 59382 warnings (59380 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1029/1170][119.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_logical.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -55401 warnings generated. -Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1030/1170][29.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/inclusive_scan_inplace_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -53896 warnings generated. -Suppressed 53361 warnings (53359 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1031/1170][126.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/lookup.cpp -57785 warnings generated. -Suppressed 57787 warnings (57785 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1032/1170][54.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/compress_mask_num.cpp -/Users/sadiinso/unsync/eve/test/unit/internals/compress_mask_num.cpp:130:3: warning: uninitialized record type: 'test_cases' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 130 | std::array test_cases; - | ^ - | {} -53142 warnings generated. -Suppressed 53122 warnings (53120 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1033/1170][230.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/reduce.cpp -59682 warnings generated. -Suppressed 59684 warnings (59682 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1034/1170][115.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sigmoid.cpp -54272 warnings generated. -Suppressed 54274 warnings (54272 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1035/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store_equivalent.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/store_equivalent.cpp:34:3: warning: uninitialized record type: 'buf' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 34 | eve::stack_buffer buf; - | ^ - | {} -51316 warnings generated. -Suppressed 51316 warnings (51314 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1036/1170][253.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/pow.cpp -59346 warnings generated. -Suppressed 59348 warnings (59346 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1037/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/updown.cpp -51178 warnings generated. -Suppressed 51180 warnings (51178 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1038/1170][14.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/logspace_sub.cpp -46316 warnings generated. -Suppressed 46318 warnings (46316 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1039/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bitincrement.cpp -44993 warnings generated. -Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1040/1170][11.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nan.cpp -46168 warnings generated. -Suppressed 46170 warnings (46168 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1041/1170][36.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/two_o_3.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1042/1170][37.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/sqrtlog_4.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1043/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/iota_with_step.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -45991 warnings generated. -Suppressed 45615 warnings (45613 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1044/1170][519.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fnma.cpp -76233 warnings generated. -Suppressed 76235 warnings (76233 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1045/1170][39.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/phi.cpp -52966 warnings generated. -Suppressed 52968 warnings (52966 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1046/1170][15.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_yn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>' calls function 'operator()>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>' calls function 'behavior, eve::options>>, eve::wide, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call, eve::options>>, eve::wide, eve::asimd_>' calls function 'deferred_call>> &, eve::wide &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide &, eve::asimd_>' calls function 'log_abs_gamma_, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_, eve::options>>>' calls function 'large_negative>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/test/doc/bessel/cyl_bessel_yn.cpp:5:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 5 | eve::wide wf([](auto i, auto c)->double{ return 2*(i+c/2);}); - | ^ -48063 warnings generated. -Suppressed 48053 warnings (48051 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1047/1170][52.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/minlogdenormal.cpp -54423 warnings generated. -Suppressed 54425 warnings (54423 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1048/1170][620.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/store/conditional.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/store/conditional.cpp:44:5: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 44 | std::array data; - | ^ - | {} -58832 warnings generated. -Suppressed 58748 warnings (58746 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1049/1170][61.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/frac.cpp -53865 warnings generated. -Suppressed 53867 warnings (53865 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1050/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotate.cpp -45078 warnings generated. -Suppressed 45080 warnings (45078 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1051/1170][9.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options<>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 17 | auto process(auto const& base, O const& opt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 17 | auto process(auto const& base, O const& opt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options<>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 17 | auto process(auto const& base, O const& opt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:17:5: warning: function 'process>, eve::options>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 17 | auto process(auto const& base, O const& opt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>, rbr::flag_keyword>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>, rbr::flag_keyword>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/doc/traits/callable_specs.cpp:23:5: warning: function 'default_to>>>>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | constexpr auto default_to(auto const& base) const noexcept { return base; } - | ^ - | [[nodiscard]] -45010 warnings generated. -Suppressed 45003 warnings (45001 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1052/1170][67.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/atanpi.cpp -53423 warnings generated. -Suppressed 53425 warnings (53423 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1053/1170][11.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/internals/category.cpp -51136 warnings generated. -Suppressed 51138 warnings (51136 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1054/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/catalan.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1055/1170][178.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/negatenz.cpp -56296 warnings generated. -Suppressed 56298 warnings (56296 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1056/1170][406.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fam.cpp -74250 warnings generated. -Suppressed 74252 warnings (74250 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1057/1170][38.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type '(anonymous namespace)::test_delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type '(anonymous namespace)::test_delegate>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:84:13: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 84 | std::array arr; - | ^ - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration_fixed_overflow.hpp:91:11: warning: uninitialized record type: 'arr' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 91 | std::array arr; - | ^ - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:21:3: warning: constructor does not initialize these fields: data [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 21 | fixture() { std::iota(data.begin(), data.end(), 0); } - | ^ - 22 | - 23 | auto aligned_begin() const - 24 | { - 25 | using ap = eve::aligned_ptr>; - 26 | return eve::algo::ptr_iterator> {ap(data.begin())}; - 27 | } - 28 | - 29 | auto aligned_end() const { return aligned_begin() + data.size(); } - 30 | - 31 | auto unaligned_begin() const { return eve::unalign(aligned_begin()); } - 32 | auto unaligned_end() const { return eve::unalign(aligned_end()); } - 33 | - 34 | alignas(sizeof(int) * 4) std::array data; - | - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:23:3: warning: function 'aligned_begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 23 | auto aligned_begin() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:29:3: warning: function 'aligned_end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 29 | auto aligned_end() const { return aligned_begin() + data.size(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:29:55: warning: narrowing conversion from 'size_type' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 29 | auto aligned_end() const { return aligned_begin() + data.size(); } - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:31:3: warning: function 'unaligned_begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 31 | auto unaligned_begin() const { return eve::unalign(aligned_begin()); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:32:3: warning: function 'unaligned_end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 32 | auto unaligned_end() const { return eve::unalign(aligned_end()); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:109:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | ignore(eve::relative_conditional_expr auto expr) : body(expr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:118:3: warning: function 'count' should be marked [[nodiscard]] [modernize-use-nodiscard] - 118 | std::ptrdiff_t count() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/module/algo/for_each_iteration.cpp:254:44: warning: the parameter 'expected' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] - 254 | auto test = [&](auto f, auto l, test_res expected) - | ^ - | const & -52656 warnings generated. -Suppressed 52232 warnings (52230 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1058/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/map.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -52670 warnings generated. -Suppressed 52268 warnings (52266 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1059/1170][9.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/concepts/invocable.cpp -51098 warnings generated. -Suppressed 51100 warnings (51098 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1060/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/rotr.cpp -45454 warnings generated. -Suppressed 45456 warnings (45454 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1061/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_pinf.cpp -46170 warnings generated. -Suppressed 46172 warnings (46170 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1062/1170][69.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countr_one.cpp -54510 warnings generated. -Suppressed 54512 warnings (54510 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1063/1170][95.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_tuple.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:76:3: warning: uninitialized record type: 'actual_storage' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 76 | eve::stack_buffer actual_storage; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:102:3: warning: uninitialized record type: 'in' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 102 | eve::stack_buffer in; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -57180 warnings generated. -Suppressed 55796 warnings (55794 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1064/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/nb_values.cpp -46881 warnings generated. -Suppressed 46883 warnings (46881 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1065/1170][120.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_bit_equal.cpp -58578 warnings generated. -Suppressed 58580 warnings (58578 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1066/1170][41.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/arg.cpp -52593 warnings generated. -Suppressed 52595 warnings (52593 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1067/1170][8.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/build/doc_pch.cpp -error: PCH file '/Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.pch' not found: module file not found [clang-diagnostic-error] -error: unable to read PCH file /Users/sadiinso/unsync/eve/build/CMakeFiles/bench_pch.dir/cmake_pch.hxx.pch: 'No such file or directory' [clang-diagnostic-error] -2 errors generated. -Error while processing /Users/sadiinso/unsync/eve/build/doc_pch.cpp. -44938 warnings and 2 errors generated. -Error while processing /Users/sadiinso/unsync/eve/build/doc_pch.cpp. -Suppressed 44940 warnings (44938 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. -Found compiler error(s). - -[1068/1170][90.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/sph_bessel_yn.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: warning: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter] - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_y.hpp:127:5: note: Variable 'k' with floating point type 'elt_t' should not be used as a loop counter - 127 | for( elt_t k = 1; k < KMAX; k = inc(k) ) - | ^ ~ ~ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -60503 warnings generated. -Suppressed 60490 warnings (60488 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1069/1170][38.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_unordered.cpp -52572 warnings generated. -Suppressed 52574 warnings (52572 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1070/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_or.cpp -45860 warnings generated. -Suppressed 45862 warnings (45860 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1071/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/expected_cardinal.cpp -51218 warnings generated. -Suppressed 51220 warnings (51218 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1072/1170][130.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/ulpdist.cpp -54515 warnings generated. -Suppressed 54517 warnings (54515 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1073/1170][13.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/sign.cpp -46180 warnings generated. -Suppressed 46182 warnings (46180 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1074/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/radindeg.cpp -/Users/sadiinso/unsync/eve/test/doc/math/radindeg.cpp:8:62: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 8 | eve::wide wf([](auto i, auto c)->float{ return 2*(i-c/2);}); - | ^ -45148 warnings generated. -Suppressed 45149 warnings (45147 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1075/1170][9.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/iterator_cardinal.cpp -51139 warnings generated. -Suppressed 51141 warnings (51139 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1076/1170][53.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/acot.cpp -53319 warnings generated. -Suppressed 53321 warnings (53319 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1077/1170][12.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_rc.cpp -45992 warnings generated. -Suppressed 45994 warnings (45992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1078/1170][296.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/arithmetic.cpp -59817 warnings generated. -Suppressed 59819 warnings (59817 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1079/1170][458.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fanm.cpp -75672 warnings generated. -Suppressed 75674 warnings (75672 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1080/1170][13.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/keep_if.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46260 warnings generated. -Suppressed 45884 warnings (45882 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1081/1170][143.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/erfcx.cpp -55624 warnings generated. -Suppressed 55626 warnings (55624 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1082/1170][179.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/views/converting_eve_iterator.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/iterator_concept_test.hpp:41:5: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 41 | eve::fixed cardinal = eve::iterator_cardinal_t{}; - | ^~~~~~~~~~ - | auto -/Users/sadiinso/unsync/eve/test/unit/module/algo/views/converting_eve_iterator.cpp:12:22: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 12 | alignas(sizeof(T)) std::array, T::size()> data; - | ^ - | {} -58121 warnings generated. -Suppressed 57250 warnings (57248 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1083/1170][27.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:82:17: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 82 | alignas(size) std::array values; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:106:17: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 106 | alignas(size) std::array values; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:116:14: warning: uninitialized record type: 'values' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 116 | alignas(8) std::array values; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:126:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 126 | std::byte values[ 2 ]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:142:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 142 | std::byte values[ 2 ]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:160:3: warning: function 'method' should be marked [[nodiscard]] [modernize-use-nodiscard] - 160 | auto method() const { return this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:168:5: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 168 | type values[2] = {{42},{17}}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:19: warning: uninitialized record type: 'data' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 265 | alignas(16 * 2) std::array data; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: warning: performing an implicit widening conversion to type 'size_t' (aka 'unsigned long') of a multiplication performed in type 'int' [bugprone-implicit-widening-of-multiplication-result] - 265 | alignas(16 * 2) std::array data; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: note: make conversion explicit to silence this warning - 10 | alignas(16 * 2) std::array data; - | ^~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:265:37: note: perform multiplication in a wider type - 265 | alignas(16 * 2) std::array data; - | ^~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:34: warning: result of multiplication in type 'int' is used as a pointer offset after an implicit widening conversion to type 'ptrdiff_t' [bugprone-implicit-widening-of-multiplication-result] - 270 | short const* prev_expected = data.begin() + (i / 16) * 16; - | ^ -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:49: note: make conversion explicit to silence this warning - 270 | short const* prev_expected = data.begin() + (i / 16) * 16; - | ^~~~~~~~~~~~~ - | static_cast( ) -/Users/sadiinso/unsync/eve/test/unit/memory/aligned_ptr.cpp:270:49: note: perform multiplication in a wider type - 270 | short const* prev_expected = data.begin() + (i / 16) * 16; - | ^~~~~~~ - | static_cast( ) -51227 warnings generated. -Suppressed 51209 warnings (51207 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1084/1170][38.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/euler.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1085/1170][15.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/search.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 166 | bool main_check(unaligned_t haystack_i) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 187 | bool small_check(wide_value_type_t haystack) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:14:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 14 | std::span h(reinterpret_cast(haystack.data()), haystack.size()); - | ^ -/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:15:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 15 | std::span n(reinterpret_cast(needle.data()), needle.size()); - | ^ -/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:54:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 54 | std::span h(reinterpret_cast(haystack.data()), haystack.size()); - | ^ -/Users/sadiinso/unsync/eve/test/doc/algo/search.cpp:55:15: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 55 | std::span n(reinterpret_cast(needle.data()), needle.size()); - | ^ -47121 warnings generated. -Suppressed 46686 warnings (46684 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1086/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/compress/compress_copy.cpp -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -51035 warnings generated. -Suppressed 50972 warnings (50970 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1087/1170][45.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log10_e.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1088/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/mone.cpp -44992 warnings generated. -Suppressed 44994 warnings (44992 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1089/1170][32.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_different_lengths.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:39:7: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 39 | auto begin() const { return rng->begin(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/range_ref.hpp:40:7: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 40 | auto end() const { return rng->end(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 166 | bool main_check(unaligned_t haystack_i) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 187 | bool small_check(wide_value_type_t haystack) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_different_lengths.cpp:21:3: warning: use auto when initializing with a cast to avoid duplicating the type name [hicpp-use-auto,modernize-use-auto] - 21 | std::size_t ulen = (std::size_t)len; - | ^~~~~~~~~~~ - | auto -54002 warnings generated. -Suppressed 53508 warnings (53506 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1090/1170][12.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/fast_two_add.cpp -45347 warnings generated. -Suppressed 45349 warnings (45347 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1091/1170][86.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/cyl_bessel_i1.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -55483 warnings generated. -Suppressed 55478 warnings (55476 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1092/1170][227.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:19:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 19 | e_t ref [2*T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:35:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 35 | e_t ref [2*T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:55:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 55 | e_t data[2*T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:69:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 69 | e_t data[2*T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:83:27: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 83 | alignas(T::alignment()) e_t data[2*T::size()]; - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/core/scatter.cpp:97:27: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 97 | alignas(T::alignment()) e_t data[2*T::size()]; - | ^ -57667 warnings generated. -Suppressed 55071 warnings (55069 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1093/1170][51.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/firstbitset.cpp -53964 warnings generated. -Suppressed 53966 warnings (53964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1094/1170][81.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/transform_to_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -66009 warnings generated. -Suppressed 63944 warnings (63942 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1095/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_not_greater.cpp -46356 warnings generated. -Suppressed 46358 warnings (46356 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1096/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/minexponent.cpp -44965 warnings generated. -Suppressed 44967 warnings (44965 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1097/1170][15.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/csch.cpp -46403 warnings generated. -Suppressed 46405 warnings (46403 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1098/1170][14.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sind.cpp -46271 warnings generated. -Suppressed 46273 warnings (46271 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1099/1170][13.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/acoth.cpp -45727 warnings generated. -Suppressed 45729 warnings (45727 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1100/1170][44.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/log_2.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1101/1170][15.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_floor.cpp -46480 warnings generated. -Suppressed 46482 warnings (46480 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1102/1170][401.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/fnms.cpp -71055 warnings generated. -Suppressed 71057 warnings (71055 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1103/1170][14.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/tand.cpp -46411 warnings generated. -Suppressed 46413 warnings (46411 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1104/1170][11.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/shr.cpp -45239 warnings generated. -Suppressed 45241 warnings (45239 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1105/1170][125.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/logical_and.cpp -57951 warnings generated. -Suppressed 57953 warnings (57951 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1106/1170][95.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:65:75: warning: unchecked access to optional value [bugprone-unchecked-optional-access] - 65 | found = unalign(arr[0]) + (pos * iterator_cardinal_v)+*match; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::views::converting_iterator>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<4>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::views::converting_iterator>, eve::fixed<4>>, int>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, short>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, double>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<1ULL>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, short>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<2>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, long long>, eve::algo::ptr_iterator>, eve::fixed<8>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>, rbr::option>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::views::converting_iterator>, int>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, double>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, short>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::find_if_>>>>>::delegate>, long long>, eve::algo::ptr_iterator>>, eve::algo::not_p>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 23 | std::mt19937& gen; - | ^ -72072 warnings generated. -Suppressed 68469 warnings (68467 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1107/1170][13.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/remove.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -46261 warnings generated. -Suppressed 45885 warnings (45883 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1108/1170][11.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/iota.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:60:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 60 | iota_with_step_iterator previous_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:61:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 61 | iota_with_step_iterator next_partially_aligned() const { return *this; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -45991 warnings generated. -Suppressed 45615 warnings (45613 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1109/1170][171.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/as_value.cpp -53089 warnings generated. -Suppressed 53091 warnings (53089 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1110/1170][11.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_eqz.cpp -46166 warnings generated. -Suppressed 46168 warnings (46166 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1111/1170][430.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/has_equal_in.cpp -59902 warnings generated. -Suppressed 59904 warnings (59902 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1112/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/arg.cpp -45436 warnings generated. -Suppressed 45438 warnings (45436 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1113/1170][92.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/tanpi.cpp -54425 warnings generated. -Suppressed 54427 warnings (54425 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1114/1170][32.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/radindeg.cpp -52175 warnings generated. -Suppressed 52177 warnings (52175 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1115/1170][112.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/agd.cpp -55812 warnings generated. -Suppressed 55814 warnings (55812 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1116/1170][10.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/none.cpp -45301 warnings generated. -Suppressed 45303 warnings (45301 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1117/1170][48.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lentz_b.cpp -/Users/sadiinso/unsync/eve/test/unit/module/math/lentz_b.cpp:15:3: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 15 | obj_const_fraction(U v) : z(v){}; - | ^ - | explicit -55200 warnings generated. -Suppressed 55201 warnings (55199 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1118/1170][153.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/sqr.cpp -63286 warnings generated. -Suppressed 63288 warnings (63286 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1119/1170][9.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/underlying_type.cpp -51120 warnings generated. -Suppressed 51122 warnings (51120 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1120/1170][10.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/chi.cpp -45190 warnings generated. -Suppressed 45192 warnings (45190 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1121/1170][13.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/exp.cpp -45995 warnings generated. -Suppressed 45997 warnings (45995 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1122/1170][16.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/hi.cpp -46331 warnings generated. -Suppressed 46333 warnings (46331 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1123/1170][43.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/rsqrt_pi.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1124/1170][8.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/examples/tutorial/sqrt_positive_op.cpp -45060 warnings generated. -Suppressed 45062 warnings (45060 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1125/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/cardinal.cpp -51142 warnings generated. -Suppressed 51144 warnings (51142 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1126/1170][97.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/bit_swap_adjacent.cpp -54456 warnings generated. -Suppressed 54458 warnings (54456 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1127/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/bit_shl.cpp -45218 warnings generated. -Suppressed 45220 warnings (45218 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1128/1170][72.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/bessel/airy.cpp -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:70:5: warning: 'mult' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , mult(x / 2) - 69 | { - 70 | mult = x / 2; - | ^~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:72:5: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | - | , term(1) - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - | ^~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:83:12: warning: use default member initializer for 'N' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 68 | bessel_j_small_z_series_term(T v_, T x) : N(0), v(v_) - | ~~~~ - 69 | { - 70 | mult = x / 2; - 71 | mult *= -mult; - 72 | term = 1; - 73 | } - 74 | constexpr T operator()() - 75 | { - 76 | T r = term; - 77 | ++N; - 78 | term *= mult / (N * (N + v)); - 79 | return r; - 80 | } - 81 | - 82 | private: - 83 | unsigned N; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:110:79: warning: 'term' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ^~~~~~~~~ - | term(1), -/Users/sadiinso/unsync/eve/include/eve/module/bessel/detail/kernel_bessel_ij_small.hpp:122:12: warning: use default member initializer for 'k' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 110 | bessel_i_small_z_series_term(T v_, T z_) : k(0), v(v_), mult(z_ * z_ / 4) { term = 1; } - | ~~~~ - 111 | - 112 | T operator()() - 113 | { - 114 | T result = term; - 115 | ++k; - 116 | term *= mult / k; - 117 | term /= k + v; - 118 | return result; - 119 | } - 120 | - 121 | private: - 122 | unsigned k; - | ^ - | {0} -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -60173 warnings generated. -Suppressed 60162 warnings (60160 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1129/1170][217.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle/slide_right.cpp -56508 warnings generated. -Suppressed 56510 warnings (56508 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1130/1170][12.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_bit_equal.cpp -46390 warnings generated. -Suppressed 46392 warnings (46390 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1131/1170][13.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_nlez.cpp -46208 warnings generated. -Suppressed 46210 warnings (46208 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1132/1170][59.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/countr_zero.cpp -54454 warnings generated. -Suppressed 54456 warnings (54454 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1133/1170][10.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/nan.cpp -44963 warnings generated. -Suppressed 44965 warnings (44963 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1134/1170][498.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/arch/top_bits.cpp -/Users/sadiinso/unsync/eve/test/unit/arch/top_bits.cpp:207:3: warning: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays] - 207 | logical test_inputs[] { - | ^ -54337 warnings generated. -Suppressed 54207 warnings (54205 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1135/1170][13.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/is_ngtz.cpp -46208 warnings generated. -Suppressed 46210 warnings (46208 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1136/1170][1148.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/search_equal_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::views::converting_iterator>, short>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::views::converting_iterator>, long long>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>, double>, eve::algo::views::converting_iterator>, double>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<1ULL>>, short>, eve::algo::views::converting_iterator>, short>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>, long long>, eve::algo::views::converting_iterator>, long long>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::detail::for_each_possibly_matching_for_search_::delegate>, eve::is_equal_t>, (unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type '(unnamed struct at /Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:206:5) &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:166:5: warning: function 'main_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 166 | bool main_check(unaligned_t haystack_i) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:187:5: warning: function 'small_check' should be marked [[nodiscard]] [modernize-use-nodiscard] - 187 | bool small_check(wide_value_type_t haystack) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, double *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, float *> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, int *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, long long *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, short *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, signed char *> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned char *> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned int *> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, eve::aligned_ptr>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>, unsigned short *> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, double>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, short>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, unsigned char>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, long long>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch>> &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:5: warning: function 'no_tagged_dispatch &, int>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/mismatch_generic_test.hpp:23:19: warning: member 'gen' of type 'std::mt19937 &' (aka 'mersenne_twister_engine &') is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 23 | std::mt19937& gen; - | ^ -62099 warnings generated. -Suppressed 60141 warnings (60139 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1137/1170][143.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/sinh.cpp -54804 warnings generated. -Suppressed 54806 warnings (54804 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1138/1170][10.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/meta/traits/as_logical.cpp -51341 warnings generated. -Suppressed 51343 warnings (51341 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1139/1170][60.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp:23:17: warning: declaration uses identifier '_S', which is a reserved identifier [bugprone-reserved-identifier] - 23 | constexpr auto _S = eve::index_t(); - | ^~ - | S - 24 | constexpr auto _H = eve::index_t(); - 25 | using eve::byte_swap_pairs; - 26 | TTS_EQUAL(byte_swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _S); }, a0)); - | ~~ ~~ ~~ - | S S S - 27 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _S), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _S), a0)); - | ~~ ~~ - | S S -/Users/sadiinso/unsync/eve/test/unit/module/core/byte_swap_pairs.cpp:24:17: warning: declaration uses identifier '_H', which is a reserved identifier [bugprone-reserved-identifier] - 24 | constexpr auto _H = eve::index_t(); - | ^~ - | H - 25 | using eve::byte_swap_pairs; - 26 | TTS_EQUAL(byte_swap_pairs(a0, _0, _S), tts::map([_0, _S](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _S); }, a0)); - 27 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _S), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _S), a0)); - 28 | TTS_EQUAL(byte_swap_pairs(a0, _0, _H), tts::map([_0, _H](auto e) -> v_t { return eve::byte_swap_pairs(e, _0, _H); }, a0)); - | ~~ ~~ ~~ - | H H H - 29 | TTS_EQUAL(eve::byte_swap_pairs[t](a0, _0, _H), eve::if_else(t, eve::byte_swap_pairs(a0, _0, _H), a0)); - | ~~ ~~ - | H H -54776 warnings generated. -Suppressed 54776 warnings (54774 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1140/1170][11.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/minus.cpp -46182 warnings generated. -Suppressed 46184 warnings (46182 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1141/1170][90.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/elliptic/ellint_rf.cpp -58604 warnings generated. -Suppressed 58606 warnings (58604 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1142/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/negabsmin.cpp -46325 warnings generated. -Suppressed 46327 warnings (46325 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1143/1170][30.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/read.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -51595 warnings generated. -Suppressed 51560 warnings (51558 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1144/1170][14.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/algo/all_of.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::ptr_iterator>, eve::fixed<4>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate<(lambda at /Users/sadiinso/unsync/eve/test/doc/algo/all_of.cpp:16:55)> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::all_of_>>>>>::delegate>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:70:5: warning: function 'report' should be marked [[nodiscard]] [modernize-use-nodiscard] - 70 | int report(std::ptrdiff_t fails, std::ptrdiff_t invalids) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:107:10: warning: class 'logger' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 107 | struct logger - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:109:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 109 | logger(bool status = true) : display(status), done(false) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:126:43: warning: throwing an exception whose type '::tts::detail::fatal_signal' is not derived from 'std::exception' [hicpp-exception-baseclass] - 126 | if(::tts::fatal_error_status) throw ::tts::detail::fatal_signal(); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:106:3: note: type defined here - 106 | struct fatal_signal {}; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:128:19: warning: use default member initializer for 'done' [cppcoreguidelines-use-default-member-init,modernize-use-default-member-init] - 109 | bool display, done; - | ^ - | {false} -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:143:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 143 | constexpr callable(Function f) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:23: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:148:58: warning: std::move of the expression of the trivially-copyable type 'signature_t' (aka 'void (*)(void *)') has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 148 | : invoker{std::move(other.invoker)}, cleanup{std::move(other.cleanup)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:149:23: warning: std::move of the expression of the trivially-copyable type 'void *' has no effect; remove std::move() [hicpp-move-const-arg,performance-move-const-arg] - 149 | , payload{std::move(other.payload)} - | ^~~~~~~~~~ ~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:39: warning: deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead [cppcoreguidelines-owning-memory] - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^ ~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:164:25: note: variable declared here - 164 | static void destroy(void* data) { delete static_cast(data); } - | ^~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:188:40: warning: rvalue reference parameter 'f' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] - 188 | bool inline test::acknowledge(test&& f) - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:207:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 207 | option( std::string arg ) : token(std::move(arg)), position(token.rfind( '=' )) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:208:7: warning: function 'flag' should be marked [[nodiscard]] [modernize-use-nodiscard] - 208 | auto flag() const { return token.substr(0, position); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:209:7: warning: function 'is_valid' should be marked [[nodiscard]] [modernize-use-nodiscard] - 209 | bool is_valid() const { return !flag().empty(); } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:210:28: warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard] - 210 | template T get(T const& def = T{}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:233:26: warning: function 'value' should be marked [[nodiscard]] [modernize-use-nodiscard] - 233 | template T value(params_t fs, T that = {}) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:247:5: warning: function 'find' should be marked [[nodiscard]] [modernize-use-nodiscard] - 247 | detail::option find(params_t fs) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:260:47: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 260 | inline ::tts::options current_arguments = {0,nullptr}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:266:49: warning: use designated initializer list to initialize 'options' [modernize-use-designated-initializers] - 266 | detail::current_arguments = ::tts::options{argc,argv}; - | ^~~~~~~~~~~ - | .argc= .argv= -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:228:3: note: aggregate type is defined here - 228 | struct options - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:376:9: warning: declaration uses identifier 'TTS_STRING__', which is a reserved identifier [bugprone-reserved-identifier] - 376 | #define TTS_STRING__(...) #__VA_ARGS__ - | ^~~~~~~~~~~~ - | TTS_STRING_ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:479:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 479 | test_capture(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:486:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 486 | test_captures(const char* id) : name(id) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:720:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 720 | block(std::size_t sz) : storage{} ,nbelems{sz} {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:721:5: warning: function 'size' should be marked [[nodiscard]] [modernize-use-nodiscard] - 721 | std::size_t size() const { return nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:722:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 722 | std::size_t capacity() const { return N; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:723:5: warning: function 'empty' should be marked [[nodiscard]] [modernize-use-nodiscard] - 723 | std::size_t empty() const { return nbelems == 0; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:735:5: warning: function 'back' should be marked [[nodiscard]] [modernize-use-nodiscard] - 735 | T back() const { return storage[size()-1]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:737:5: warning: function 'front' should be marked [[nodiscard]] [modernize-use-nodiscard] - 737 | T front() const { return storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:742:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 742 | auto begin() const { return &storage[0]; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:743:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 743 | auto end() const { return begin() + nbelems; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:762:7: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 762 | param_type( T pa = 0, T pb = 1 - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:784:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 784 | fp_dist(param_type const& pr) noexcept { param(pr); } - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:928:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 928 | value(T v) : seed(v) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:935:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 935 | ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:946:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 946 | reverse_ramp(T s) : start(s), step(1) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:973:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 973 | sample(Distribution d) : dist(std::move(d)) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1086:69: warning: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] - 1086 | inline std::string as_string(std::nullptr_t) { return std::string("nullptr"); } - | ^~~~~~~~~~~~ ~ - | { } -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1488:30: warning: use c++14 style type templates [modernize-type-traits] - 1488 | using u_t = typename std::make_unsigned::type; - | ~~~~~~~~ ^ ~~~~~~ - | _t -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1590:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1590 | text_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1604:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1604 | value_field( int width, int prec = 2 ) : width_( width ), precision_(prec) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:24: warning: narrowing conversion from 'value_type' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1715:36: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1715 | ratio += (100.*ulp_map[i])/nb_ulps; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1716:44: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to 'double' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 1716 | if (i <= 3 ) ulps = i/2.0; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1781:10: warning: constructor does not initialize these fields: seed_ [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 1781 | struct prng_generator - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1785:5: warning: constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | ^ - | explicit -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1787:7: warning: 'seed_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 1785 | prng_generator(Args... args) : distribution_(static_cast(args)...) - | - | , seed_(random_seed()) - 1786 | { - 1787 | seed_ = random_seed(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1884:17: warning: member 'id' of type 'int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1884 | int & id; - | ^ -/Users/sadiinso/unsync/eve/test/tts/tts.hpp:1885:17: warning: member 'section' of type 'const int &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 1885 | int const & section; - | ^ -52031 warnings generated. -Suppressed 51578 warnings (51576 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1145/1170][16.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/special/exp_int.cpp -47449 warnings generated. -Suppressed 47451 warnings (47449 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1146/1170][16.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/maxabs.cpp -46198 warnings generated. -Suppressed 46200 warnings (46198 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1147/1170][350.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/slide_left.cpp -58283 warnings generated. -Suppressed 58285 warnings (58283 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1148/1170][9.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/constant/sqrtsmallestposval.cpp -44993 warnings generated. -Suppressed 44995 warnings (44993 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1149/1170][12.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/core/countr_zero.cpp -45517 warnings generated. -Suppressed 45519 warnings (45517 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1150/1170][25.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/memory/is_aligned.cpp -51146 warnings generated. -Suppressed 51148 warnings (51146 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1151/1170][10.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/newton.cpp -/Users/sadiinso/unsync/eve/test/doc/math/newton.cpp:8:84: warning: result of integer division used in a floating point context; possible loss of precision [bugprone-integer-division] - 8 | eve::wide wf([](auto i, auto c){ return (1+eve::eps(eve::as()))*(i-c/2);}); - | ^ -45549 warnings generated. -Suppressed 45550 warnings (45548 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1152/1170][17.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/elliptic/ellint_d.cpp -47497 warnings generated. -Suppressed 47499 warnings (47497 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1153/1170][121.2s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_scalar_logical.large.cpp -/Users/sadiinso/unsync/eve/test/unit/api/compress/compress_copy_test.hpp:181:5: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 181 | std::array res; - | ^ - | {} -55401 warnings generated. -Suppressed 55353 warnings (55351 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1154/1170][16.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/doc/math/sindcosd.cpp -46582 warnings generated. -Suppressed 46584 warnings (46582 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1155/1170][166.8s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint32.cpp -53819 warnings generated. -Suppressed 53821 warnings (53819 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1156/1170][38.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/constant/egamma.cpp -52964 warnings generated. -Suppressed 52966 warnings (52964 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1157/1170][99.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/swizzle/zero.cpp -54839 warnings generated. -Suppressed 54841 warnings (54839 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1158/1170][122.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/lrising_factorial.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -56307 warnings generated. -Suppressed 56302 warnings (56300 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1159/1170][130.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/is_negative.cpp -58768 warnings generated. -Suppressed 58770 warnings (58768 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1160/1170][206.7s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/oneminus.cpp -62109 warnings generated. -Suppressed 62111 warnings (62109 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1161/1170][215.9s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/convert/to_uint64.cpp -54125 warnings generated. -Suppressed 54127 warnings (54125 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1162/1170][107.6s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/lpnorm.cpp -57271 warnings generated. -Suppressed 57273 warnings (57271 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1163/1170][80.0s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/math/logspace_add.cpp -55483 warnings generated. -Suppressed 55485 warnings (55483 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1164/1170][104.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/log_gamma.cpp -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] - 20 | EVE_FORCEINLINE constexpr T operator()(T v) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:20:33: warning: function 'operator()>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: note: example recursive call chain, starting from function 'large_negative>>' - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #1: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #2: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #3: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #4: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #5: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #6: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #7: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: ... which was the starting point of the recursive call chain; there may be other cycles -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] - 80 | template constexpr EVE_FORCEINLINE T large_negative(T q) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:80:63: warning: function 'large_negative>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] - 134 | log_abs_gamma_(EVE_REQUIRES(cpu_), O const&, T a0) noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:134:5: warning: function 'log_abs_gamma_>, eve::options>>>' is within a recursive call chain [misc-no-recursion] -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:106:36: warning: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' is within a recursive call chain [misc-no-recursion] - 106 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:204:36: note: example recursive call chain, starting from function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' - 204 | constexpr EVE_FORCEINLINE auto adapt_call(as pt, auto a, O const& o, T x, Ts const&... xs) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:210:48: note: Frame #1: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 210 | if constexpr(is_callable ) return base_t::adapt_call(pt, a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:115:76: note: Frame #2: function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'deferred_call>> &, eve::wide> &, eve::asimd_>' here: - 115 | else if constexpr(has_implementation) return func_t::deferred_call(a, o, x, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:25:42: note: Frame #3: function 'deferred_call>> &, eve::wide> &, eve::asimd_>' calls function 'log_abs_gamma_>, eve::options>>>' here: - 25 | EVE_CALLABLE_OBJECT(log_abs_gamma_t, log_abs_gamma_); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:444:17: note: Frame #4: function 'log_abs_gamma_>, eve::options>>>' calls function 'large_negative>>' here: - 444 | r = helpers::large_negative(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:82:22: note: Frame #5: function 'large_negative>>' calls function 'operator()>>' here: - 82 | T w = eve::log_abs_gamma(q); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/special/regular/log_abs_gamma.hpp:22:14: note: Frame #6: function 'operator()>>' calls function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' here: - 22 | return this->behavior(as{}, eve::current_api, this->options(), v); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: Frame #7: function 'behavior>, eve::options>>, eve::wide>, eve::asimd_>' calls function 'adapt_call>, eve::options>>, eve::wide>, eve::asimd_>' here: - 221 | return adapt_call(pt, arch, opts, x0, xs...); - | ^ -/Users/sadiinso/unsync/eve/include/eve/traits/overload/default_behaviors.hpp:221:14: note: ... which was the starting point of the recursive call chain; there may be other cycles -55744 warnings generated. -Suppressed 55739 warnings (55737 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1165/1170][108.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/special/dawson.cpp -54034 warnings generated. -Suppressed 54036 warnings (54034 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1166/1170][209.3s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/shuffle_v2/shuffle_v2_driver.cpp -66278 warnings generated. -Suppressed 66280 warnings (66278 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1167/1170][407.5s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'int' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] - 219 | T data {[](auto i, auto) { return static_cast(1 + i); }}; - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'int' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'long' to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:219:39: warning: either cast from 'long' to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:250:19: warning: either cast from 'std::ptrdiff_t' (aka 'long') to 'v_t' (aka 'long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] - 250 | data.set(i, static_cast(1 + i)); - | ^ -/Users/sadiinso/unsync/eve/test/unit/api/regular/wide.cpp:250:19: warning: either cast from 'std::ptrdiff_t' (aka 'long') to 'v_t' (aka 'unsigned long long') is ineffective, or there is loss of precision before the conversion [bugprone-misplaced-widening-cast] -62675 warnings generated. -Suppressed 62663 warnings (62661 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1168/1170][210.4s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/dec.cpp -/Users/sadiinso/unsync/eve/test/unit/module/core/dec.cpp:77:43: warning: expression is redundant [misc-redundant-expression] - 77 | { return v_t((e > 64 && e != eve::valmin(eve::as(e)) ? e - 1 : e)); }, - | ^ -62102 warnings generated. -Suppressed 62068 warnings (62066 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1169/1170][260.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/core/minabs.cpp -65068 warnings generated. -Suppressed 65070 warnings (65068 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - -[1170/1170][1095.1s] /opt/homebrew/bin/clang-tidy -p=build /Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:59:5: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 59 | aligned_allocator() noexcept {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:63:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 63 | aligned_allocator(aligned_allocator const &) noexcept - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:82:7: warning: returning a newly created resource of type 'void *' or 'gsl::owner<>' from a function whose return type is not 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 82 | return std::aligned_alloc(a, sz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: do not manage memory manually; use RAII [cppcoreguidelines-no-malloc,hicpp-no-malloc] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/memory/aligned_allocator.hpp:99:7: warning: calling legacy resource function without passing a 'gsl::owner<>' [cppcoreguidelines-owning-memory] - 99 | std::free(ptr); - | ^~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/all_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/any_of.hpp:49:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 49 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:25:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 25 | I begin() const { return f; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/as_range.hpp:26:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 26 | S end () const { return l; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:28:20: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 28 | std::memmove(reinterpret_cast(ptr), ptr, sz); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:34:30: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 34 | return eve::as_aligned(reinterpret_cast(p), eve::detail::cache_line_cardinal{}); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:41:57: warning: narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::ptrdiff_t' (aka 'long') is implementation-defined [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions] - 41 | eve::algo::copy(as_range(aligned_src, aligned_src+size), aligned_dst); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:46:10: warning: class 'soa_storage' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor [cppcoreguidelines-special-member-functions,hicpp-special-member-functions] - 46 | struct soa_storage - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:61:7: warning: 'data_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , data_(allocate(byte_size(c))) - 60 | { - 61 | data_ = allocate(byte_size(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:62:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 59 | soa_storage(Allocator a, std::size_t c) : soa_storage(a) - | - | , capacity_(aligned_capacity(c)) - 60 | { - 61 | data_ = allocate(byte_size(c)); - 62 | capacity_ = aligned_capacity(c); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:91:7: warning: 'indexes_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , indexes_(src.indexes_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:92:7: warning: 'capacity_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 82 | soa_storage(soa_storage const& src) : soa_storage(src.data_.get_deleter()) - | - | , capacity_(src.capacity_) - 83 | { - 84 | auto sz = byte_size(src.capacity_); - 85 | - 86 | // Strong guarantee on allocation - 87 | auto local = allocate(sz); - 88 | memory_helper::copy_all_aligned(src.data_.get(), local.get(), sz ); - 89 | data_ = std::move(local); - 90 | - 91 | indexes_ = src.indexes_; - 92 | capacity_ = src.capacity_; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:128:5: warning: function 'capacity' should be marked [[nodiscard]] [modernize-use-nodiscard] - 128 | std::size_t capacity() const noexcept { return capacity_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:154:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 154 | return reinterpret_cast*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:160:14: warning: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast] - 160 | return reinterpret_cast const*>(s.data_.get() + get(s.indexes_)); - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/container/detail/soa_storage.hpp:168:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 168 | aligned_deleter(Allocator a) : Allocator(a) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:29:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 29 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy.hpp:93:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:40: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/copy_if.hpp:68:50: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | EVE_FORCEINLINE auto operator()(In&& in, Out&& out, P p) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:50:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:55:59: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE auto operator()(Traits traits_, Rng&& rng) const { - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:81:5: warning: function 'traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 81 | Traits traits() const { return traits_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:83:5: warning: function 'begin' should be marked [[nodiscard]] [modernize-use-nodiscard] - 83 | I begin() const { return f_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/detail/preprocess_range.hpp:84:5: warning: function 'end' should be marked [[nodiscard]] [modernize-use-nodiscard] - 84 | S end() const { return l_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:23:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | template EVE_FORCEINLINE bool operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:28:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | template EVE_FORCEINLINE bool operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:34:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 34 | requires zip_to_range EVE_FORCEINLINE bool operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/equal.hpp:40:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 40 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/fill.hpp:53:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 53 | EVE_FORCEINLINE void operator()(Rng&& rng, T x) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:74:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 74 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:135:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 135 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find.hpp:186:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 186 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:78:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 78 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:140:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 140 | EVE_FORCEINLINE auto operator()(Rng&& rng, eve::value_type_t v) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/find_last.hpp:188:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 188 | template EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each.hpp:63:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 63 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:43:17: warning: member 'should_break' of type 'bool &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 43 | bool& should_break; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'I &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | I& f; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>, eve::fixed<16>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:44:14: warning: member 'f' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'S &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 45 | S& l; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>, eve::algo::ptr_iterator>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<4>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<8>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<16>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>, eve::fixed<2>>>, eve::algo::views::backward_iterator>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<4>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<8>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<16>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:45:14: warning: member 'l' of type 'eve::algo::views::zip_iterator>>, eve::algo::views::backward_iterator>, eve::fixed<2>>>> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'Delegate &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 46 | Delegate& delegate; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_iteration.hpp:46:21: warning: member 'delegate' of type 'eve::algo::for_each_>>>>>::delegate> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:24:15: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 24 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:34:16: warning: member 'loop_body' of type 'LoopBody &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 34 | LoopBody& loop_body; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/for_each_selected.hpp:56:72: warning: forwarding reference parameter 'loop_body' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 56 | EVE_FORCEINLINE bool operator()(Rng&& rng, P is_selected, LoopBody&& loop_body) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:60:56: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 60 | EVE_FORCEINLINE void operator()(Traits tr, Rng &&rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:82:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 82 | EVE_FORCEINLINE void operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:89:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 89 | EVE_FORCEINLINE void operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:115:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 115 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/inclusive_scan.hpp:122:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 122 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/iota.hpp:32:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 32 | EVE_FORCEINLINE void operator()(Rng&& rng, T value) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/keep_if.hpp:51:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 51 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:19:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 19 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_element.hpp:28:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 28 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/max_value.hpp:35:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:79:14: warning: member 'less' of type 'Less &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 79 | Less & less; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:113:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 113 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:152:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 152 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:174:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 174 | EVE_FORCEINLINE auto operator()(Rng&& rng, Less less) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_element.hpp:185:41: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 185 | EVE_FORCEINLINE auto operator()(Rng&& rng) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:23:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 23 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng, Less less) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/min_value.hpp:36:74: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 36 | EVE_FORCEINLINE std::optional> operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:22:81: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | template EVE_FORCEINLINE auto operator()(R&& r, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:27:69: warning: forwarding reference parameter 'r' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 27 | template EVE_FORCEINLINE auto operator()(R&& r) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:35:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 35 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:70: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/mismatch.hpp:41:79: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 41 | requires zip_to_range EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/none_of.hpp:21:81: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 21 | template EVE_FORCEINLINE bool operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/preprocess_range.hpp:102:75: warning: forwarding reference parameter 'rs' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto temporary_preprocess_ranges_hack(Traits tr, Rs&&...rs) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:61:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 61 | ptr_iterator(ptr_iterator const& x) : ptr(x.ptr) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:65:5: warning: function 'previous_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 65 | auto previous_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:75:5: warning: function 'next_partially_aligned' should be marked [[nodiscard]] [modernize-use-nodiscard] - 75 | auto next_partially_aligned() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:87:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 87 | template - | ^~~~~~~~~ - | Cardinal - 88 | auto cardinal_cast(_Cardinal c) const - | ~~~~~~~~~ - | Cardinal - 89 | { - 90 | if constexpr (!eve::detail::instance_of ) return ptr_iterator(ptr); - | ~~~~~~~~~ - | Cardinal - 91 | else if constexpr (_Cardinal{}() > Cardinal{}() ) return unalign().cardinal_cast(c); - | ~~~~~~~~~ - | Cardinal - 92 | else - 93 | { - 94 | using other_ptr = aligned_ptr; - | ~~~~~~~~~ - | Cardinal - 95 | using other_it = ptr_iterator; - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/ptr_iterator.hpp:88:5: warning: function 'cardinal_cast>' should be marked [[nodiscard]] [modernize-use-nodiscard] - 88 | auto cardinal_cast(_Cardinal c) const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:64:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 64 | EVE_FORCEINLINE U operator()(Rng&& rng, std::pair op_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reduce.hpp:84:40: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 84 | EVE_FORCEINLINE U operator()(Rng&& rng, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:52:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | EVE_FORCEINLINE auto operator()(Rng&& rng, P p) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/remove.hpp:93:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 93 | EVE_FORCEINLINE auto operator()(Rng&& rng, T v) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:37:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 37 | EVE_FORCEINLINE void operator()(Rng&& rng) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/reverse.hpp:111:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 111 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:37:18: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 37 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:44:26: warning: member 'verify' of type 'Verify &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 44 | Verify& verify; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:19: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:293:34: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 293 | operator()(R1&& haystack, R2&& needle, Equal equal_fn) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:40: warning: forwarding reference parameter 'haystack' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/search.hpp:345:55: warning: forwarding reference parameter 'needle' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 345 | EVE_FORCEINLINE auto operator()(R1&& haystack, R2&& needle) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:39:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 39 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:40:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 40 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:41:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 41 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:90:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 90 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:133:13: warning: member 'r1' of type 'R1 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 133 | R1 & r1; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:134:13: warning: member 'r2' of type 'R2 &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 134 | R2 & r2; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:135:13: warning: member 'ro' of type 'RO &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] - 135 | RO & ro; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:184:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 184 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:223:5: warning: function 'modified_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 223 | constexpr auto modified_traits() const - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:273:60: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 273 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:306:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 306 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro, Less less, Equal equal_fn) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:40: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:49: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/set_intersection.hpp:329:58: warning: forwarding reference parameter 'ro' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 329 | EVE_FORCEINLINE auto operator()(R1&& r1, R2&& r2, RO&& ro) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/swap_ranges.hpp:55:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 55 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:52:46: warning: forwarding reference parameter 'options' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 52 | constexpr explicit traits(Options && ... options) : Settings(EVE_FWD(options) ...) {} - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:55:15: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 55 | constexpr traits(rbr::settings const& options) : Settings(options) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:63:30: warning: operator=() should return 'unroll_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 63 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:94:30: warning: operator=() should return 'force_cardinal_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 94 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:309:30: warning: operator=() should return 'expect_smaller_range_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 309 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:354:30: warning: operator=() should return 'overflow_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 354 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:373:30: warning: operator=() should return 'index_type_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 373 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:398:30: warning: operator=() should return 'density_key_t&' [cppcoreguidelines-c-copy-assignment-signature,misc-unconventional-assign-operator] - 398 | template constexpr auto operator=(Value const&) const noexcept - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:641:7: warning: function 'get_traits' should be marked [[nodiscard]] [modernize-use-nodiscard] - 641 | constexpr Traits get_traits() const { return tr_; } - | ^ - | [[nodiscard]] -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:643:17: warning: use '= default' to define a trivial default constructor [hicpp-use-equals-default,modernize-use-equals-default] - 643 | constexpr supports_traits() {} - | ^ ~~ - | = default; -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/traits.hpp:661:16: warning: member 'tr_' of type 'const eve::algo::traits>' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] - 661 | Traits tr_; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:65:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 65 | EVE_FORCEINLINE void operator()(Rng&& rng, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:42: warning: forwarding reference parameter 'r1' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform.hpp:106:51: warning: forwarding reference parameter 'r2' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 106 | EVE_FORCEINLINE void operator()(R1&& r1, R2&& r2, Op op) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:28: warning: forwarding reference parameter 'in' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_copy_if.hpp:68:38: warning: forwarding reference parameter 'out' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 68 | auto operator()(In&& in, Out&& out, Func func) const -> unaligned_iterator_t - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_keep_if.hpp:50:43: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 50 | EVE_FORCEINLINE auto operator()(Rng&& rng, Func func) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:75:20: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 75 | operator()(Rng&& rng, MapOp map_op, std::pair add_zero, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/transform_reduce.hpp:97:38: warning: forwarding reference parameter 'rng' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | EVE_FORCEINLINE U operator()(Rng&& rng, MapOp map_op, U init) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:83:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 83 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:118:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 118 | EVE_FORCEINLINE backward_iterator(backward_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/backward.hpp:189:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 189 | template - | ^~~~~~~~~ - | Cardinal - 190 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:76:39: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 76 | auto no_tagged_dispatch(Wrapped &&wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:97:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 97 | auto operator()(Wrapped&& wrapped, eve::as tgt) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:147:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 147 | converting_iterator(converting_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/convert.hpp:222:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 222 | template - | ^~~~~~~~~ - | Cardinal - 223 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:33:10: warning: constructor does not initialize these fields: i [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 33 | struct iota_with_step_iterator : operations_with_distance - | ^ - 34 | { - 35 | using value_type = T; - 36 | using wv_type = eve::wide; - 37 | - 38 | value_type base; - 39 | value_type step; - 40 | std::ptrdiff_t i; - | - | {} -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:52:7: warning: 'wide_cur' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer] - 50 | i(0) - | - | , wide_cur(wv_type {[&](int j, int) { return j; }}) - 51 | { - 52 | wide_cur = wv_type {[&](int j, int) { return j; }}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/iota.hpp:65:24: warning: declaration uses identifier '_N', which is a reserved identifier [bugprone-reserved-identifier] - 65 | template - | ^~ - | N - 66 | auto cardinal_cast(_N) const { return iota_with_step_iterator{base, step, i}; } - | ~~ ~~ - | N N -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:163:5: warning: variable 'map_convert' defined in a header file; variable definitions in header files can lead to ODR violations [misc-definitions-in-headers] - 163 | } map_convert; - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:242:5: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 242 | map_iterator(map_iterator x) : base(x.base), - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/map.hpp:322:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 322 | template - | ^~~~~~~~~ - | Cardinal - 323 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:72:31: warning: forwarding reference parameter 'wrapped' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 72 | auto operator()(Wrapped&& wrapped) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:106:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 106 | EVE_FORCEINLINE reverse_iterator(reverse_iterator x) : base(x.base) {} - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/reverse.hpp:177:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 177 | template - | ^~~~~~~~~ - | Cardinal - 178 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:85:71: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 85 | EVE_FORCEINLINE std::ptrdiff_t compute_distance(Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:102:90: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 102 | EVE_FORCEINLINE auto perform_replacements(std::ptrdiff_t distance, Components&& ... components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:105:30: warning: forwarding reference parameter 'c' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 105 | [&](C&& c) - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:149:72: warning: forwarding reference parameter 'components' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 149 | EVE_FORCEINLINE auto zip_::operator()(Components &&...components) const - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip.hpp:178:21: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 178 | EVE_FORCEINLINE zip_range(kumi::tuple ranges): - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:151:40: warning: forwarding reference parameter 'self' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 151 | friend decltype(auto) get(Self &&self) { return get(EVE_FWD(self).storage); } - | ^ -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:162:7: warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 162 | zip_iterator_common(zip_iterator x) - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:173:23: warning: 'operator zip_iterator()))...>' must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions] - 173 | EVE_FORCEINLINE operator zip_iterator...>() const - | ^ - | explicit -/Users/sadiinso/unsync/eve/include/eve/module/algo/algo/views/zip_iterator.hpp:370:24: warning: declaration uses identifier '_Cardinal', which is a reserved identifier [bugprone-reserved-identifier] - 370 | template - | ^~~~~~~~~ - | Cardinal - 371 | EVE_FORCEINLINE auto cardinal_cast(_Cardinal N) const - | ~~~~~~~~~ - | Cardinal -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:143:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 143 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algo_test.hpp:149:7: warning: uninitialized record type: 'res' [cppcoreguidelines-pro-type-member-init,hicpp-member-init] - 149 | std::array res; - | ^ - | {} -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp:22:40: warning: forwarding reference parameter 'from' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | EVE_FORCEINLINE void operator()(R1&& from, R2&& to) const - | ^ -/Users/sadiinso/unsync/eve/test/unit/module/algo/algorithm/copy_backward_generic.cpp:22:51: warning: forwarding reference parameter 'to' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] - 22 | EVE_FORCEINLINE void operator()(R1&& from, R2&& to) const - | ^ -70586 warnings generated. -Suppressed 67666 warnings (67664 in non-user code, 2 NOLINT). -Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. - diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 14a24cd00b..f323c16cad 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -20,14 +20,7 @@ namespace eve constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept requires (same_lanes_or_scalar && !arithmetic_simd_value && !arithmetic_simd_value) { - if constexpr (has_emulated_abi_v>) - { - return convert(EVE_DISPATCH_CALL(a, b), as_element>{}); - } - else - { - return EVE_DISPATCH_CALL(a, b); - } + return EVE_DISPATCH_CALL(a, b); } EVE_CALLABLE_OBJECT(logical_and_t, logical_and_); @@ -91,7 +84,7 @@ namespace eve else if constexpr (scalar_value && logical_simd_value) { using lw_t = as_logical_t>; - return logical_and(lw_t{a}, lw_t{b}); + return logical_and(lw_t{a}, convert(b, as_element{})); } else if constexpr (std::same_as) { diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index c14f23513a..d3f7140726 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -99,7 +99,11 @@ namespace eve::detail else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; - else if constexpr (simd_value) return find_common_logical_reducer>>{}; + else if constexpr (simd_value) + { + if constexpr (requires { typename as_wide_as_t; }) return find_common_logical_reducer>>{}; + else return find_common_logical_reducer{}; + } else if constexpr (scalar_value) return find_common_logical_reducer>{}; else return find_common_logical_reducer{}; } From 78b12f2a848bd8231ab4aa04741aea6258c0a5aa Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Mon, 2 Dec 2024 16:44:43 +0100 Subject: [PATCH 17/18] revert new behaviour --- .../eve/module/core/regular/logical_and.hpp | 10 +++------ include/eve/traits/common_value.hpp | 6 +---- .../eve/traits/overload/default_behaviors.hpp | 2 +- test/unit/meta/traits/common_logical.cpp | 22 +++++++++---------- 4 files changed, 16 insertions(+), 24 deletions(-) diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index f323c16cad..55ad7e6b27 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -81,12 +81,8 @@ namespace eve else if constexpr (std::same_as) return logical_and(U{a}, b); else if constexpr (std::same_as) return logical_and(a, T{b}); else if constexpr (logical_simd_value && scalar_value) return logical_and(a, T{b}); - else if constexpr (scalar_value && logical_simd_value) - { - using lw_t = as_logical_t>; - return logical_and(lw_t{a}, convert(b, as_element{})); - } - else if constexpr (std::same_as) + else if constexpr (scalar_value && logical_simd_value) return logical_and(b, U{a}); + else if constexpr (std::same_as) { if constexpr (scalar_value && scalar_value) return T{a && b}; else return bit_cast(a.bits() & b.bits(), as>{}); @@ -100,7 +96,7 @@ namespace eve # include #endif -#if defined(EVE_INCLUDE_SVE_HEADER) +#if defined(EVE_INCLUDE_ARM_SVE_HEADER) # include #endif diff --git a/include/eve/traits/common_value.hpp b/include/eve/traits/common_value.hpp index d3f7140726..78eadad3fc 100644 --- a/include/eve/traits/common_value.hpp +++ b/include/eve/traits/common_value.hpp @@ -99,11 +99,7 @@ namespace eve::detail else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; else if constexpr (std::same_as) return find_common_logical_reducer>{}; - else if constexpr (simd_value) - { - if constexpr (requires { typename as_wide_as_t; }) return find_common_logical_reducer>>{}; - else return find_common_logical_reducer{}; - } + else if constexpr (simd_value) return find_common_logical_reducer>{}; else if constexpr (scalar_value) return find_common_logical_reducer>{}; else return find_common_logical_reducer{}; } diff --git a/include/eve/traits/overload/default_behaviors.hpp b/include/eve/traits/overload/default_behaviors.hpp index a966a4502b..2760a4f4ac 100644 --- a/include/eve/traits/overload/default_behaviors.hpp +++ b/include/eve/traits/overload/default_behaviors.hpp @@ -112,7 +112,7 @@ namespace eve { constexpr bool any_emulated = (has_emulated_abi_v || ... || has_emulated_abi_v); constexpr bool has_implementation = requires{ func_t::deferred_call(a, o, x, xs...); }; - + if constexpr (any_emulated) { constexpr bool supports_map_no_conversion = requires{ map(this->derived(), x, xs...); }; diff --git a/test/unit/meta/traits/common_logical.cpp b/test/unit/meta/traits/common_logical.cpp index cd34e0f58c..7cbff420e8 100644 --- a/test/unit/meta/traits/common_logical.cpp +++ b/test/unit/meta/traits/common_logical.cpp @@ -10,15 +10,15 @@ #include "test.hpp" template struct rewrap; -template +template struct rewrap> { using type = tts::types; }; template struct cartesian; -template +template struct cartesian, tts::types> { - using base = kumi::result::cartesian_product_t,kumi::tuple>; + using base = kumi::result::cartesian_product_t,kumi::tuple>; using types_list = typename rewrap::type; }; @@ -38,15 +38,15 @@ TTS_CASE_TPL("eve::common_logical on boolean x other" TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t>), eve::logical); TTS_TYPE_IS((eve::common_logical_t, bool>), eve::logical); - + TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t), eve::logical); TTS_TYPE_IS((eve::common_logical_t>), eve::logical); TTS_TYPE_IS((eve::common_logical_t, bool>), eve::logical); }; - + TTS_CASE_TPL("eve::common_logical on scalar x scalar" - , cartesian + , cartesian ) ( tts::type> ) { @@ -57,7 +57,7 @@ TTS_CASE_TPL("eve::common_logical on scalar x scalar" }; TTS_CASE_TPL("eve::common_logical on wide x wide" - , cartesian + , cartesian ) ( tts::type> ) { @@ -72,10 +72,10 @@ TTS_CASE_TPL("eve::common_logical on wide x wide" TTS_TYPE_IS((eve::common_logical_t), LWt); // ensure compatibility with eve::detail::map - TTS_TYPE_IS((eve::common_logical_t), LWt); - TTS_TYPE_IS((eve::common_logical_t), LWt); - TTS_TYPE_IS((eve::common_logical_t, Wu>), LWt); - TTS_TYPE_IS((eve::common_logical_t, LWu>), LWt); + TTS_TYPE_IS((eve::common_logical_t), LWu); + TTS_TYPE_IS((eve::common_logical_t), LWu); + TTS_TYPE_IS((eve::common_logical_t, Wu>), LWu); + TTS_TYPE_IS((eve::common_logical_t, LWu>), LWu); TTS_TYPE_IS((eve::common_logical_t), LWt); TTS_TYPE_IS((eve::common_logical_t>), LWt); From 758da64ed3d0e84b03d7584feac9fda58c85c717 Mon Sep 17 00:00:00 2001 From: SadiinsoSnowfall Date: Mon, 2 Dec 2024 17:44:12 +0100 Subject: [PATCH 18/18] added a new logical elementwise callable type --- include/eve/forward.hpp | 3 ++ include/eve/module/core/regular/convert.hpp | 10 +++++ .../eve/module/core/regular/logical_and.hpp | 2 +- .../eve/traits/overload/default_behaviors.hpp | 41 +++++++++++++++++++ test/unit/module/core/logical_and.cpp | 12 ++++-- 5 files changed, 63 insertions(+), 5 deletions(-) diff --git a/include/eve/forward.hpp b/include/eve/forward.hpp index 522042c1cd..00b0a911c2 100644 --- a/include/eve/forward.hpp +++ b/include/eve/forward.hpp @@ -52,4 +52,7 @@ EVE_FORCEINLINE auto mask_op(C const& c, template To call_simd_cast(From, as); +// This is an inderect wrapper of eve::convert to avoid cycling dependencies +template +auto call_convert(From, as); } diff --git a/include/eve/module/core/regular/convert.hpp b/include/eve/module/core/regular/convert.hpp index 393e37c4c5..250516a8b3 100644 --- a/include/eve/module/core/regular/convert.hpp +++ b/include/eve/module/core/regular/convert.hpp @@ -84,6 +84,16 @@ namespace eve //================================================================================================ //! @} //================================================================================================ + + namespace detail + { + // This function is forward declared wrapper around convert, so that internally we can call it anywhere. + template + EVE_FORCEINLINE auto call_convert(T x, as tgt) + { + return eve::convert(x, tgt); + } + } } #include diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 55ad7e6b27..b0795386ff 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -14,7 +14,7 @@ namespace eve { template - struct logical_and_t : strict_elementwise_callable + struct logical_and_t : logical_elementwise_callable { template constexpr EVE_FORCEINLINE common_logical_t operator()(T a, U b) const noexcept diff --git a/include/eve/traits/overload/default_behaviors.hpp b/include/eve/traits/overload/default_behaviors.hpp index 2760a4f4ac..6e3df224e5 100644 --- a/include/eve/traits/overload/default_behaviors.hpp +++ b/include/eve/traits/overload/default_behaviors.hpp @@ -10,6 +10,7 @@ #include #include #include +#include #include // TEMPORARY #include @@ -238,6 +239,46 @@ namespace eve } }; + //==================================================================================================================== + //! @addtogroup extensions + //! @{ + //! @struct logical_elementwise_callable + //! @brief CRTP base class giving an EVE's @callable the logical elementwise function semantic + //! + //! **Defined in Header** + //! + //! @code + //! #include + //! @endcode + //! + //! Logical elementwise functions in EVE behave as strict elementwise callables but with the added ability to convert + //! the output to a common logical type. + //! + //! @tparam Func Type of current @callable being implemented. + //! @tparam OptionsValues Type of stored options. + //! @tparam Options List of supported option specifications. + //! + //! @see strict_elementwise_callable + //! @} + //==================================================================================================================== + template< template class Func + , typename OptionsValues + , typename... Options + > + struct logical_elementwise_callable : strict_elementwise_callable + { + using base_t = strict_elementwise_callable; + + template + constexpr EVE_FORCEINLINE auto behavior(auto arch, O const& opts, T x0, Ts const&... xs) const + { + using c_t = common_logical_t; + auto r = base_t::behavior(arch, opts, x0, xs...); + if constexpr (!std::same_as) return detail::call_convert(r, as_element{}); + else return r; + } + }; + //==================================================================================================================== //==================================================================================================================== template< template class Func diff --git a/test/unit/module/core/logical_and.cpp b/test/unit/module/core/logical_and.cpp index 1ff04ec59d..4253eb4a9f 100644 --- a/test/unit/module/core/logical_and.cpp +++ b/test/unit/module/core/logical_and.cpp @@ -12,15 +12,15 @@ using namespace eve; template struct rewrap; -template +template struct rewrap> { using type = tts::types; }; template struct cartesian; -template +template struct cartesian, tts::types> { - using base = kumi::result::cartesian_product_t,kumi::tuple>; + using base = kumi::result::cartesian_product_t,kumi::tuple>; using types_list = typename rewrap::type; }; @@ -67,7 +67,7 @@ template auto test_type(T a, U b) -> decltype(logical_and(a, b)) { return logical_and(a, b); } TTS_CASE_TPL("Check behavior of eve::logical_and(wide)" - , cartesian + , cartesian ) ( tts::type> ) { @@ -114,4 +114,8 @@ TTS_CASE_WITH("Check behavior of eve::logical_and(logical)", tts::map([](auto e, auto f) -> l_t { return (f > 1) && e; }, l1, da0)); TTS_EQUAL(eve::logical_and(da0 > 1, l1), tts::map([](auto e, auto f) -> dl_t { return bool((e > 1) && f); }, da0, l1)); + + // Mixed type regression test, see #1959 + TTS_EQUAL(eve::logical_and((da0 > 1).get(0), l0), tts::map([&](auto e) -> l_t { return e && (da0 > 1).get(0); }, l0)); + TTS_EQUAL(eve::logical_and(l0, (da0 > 1).get(0)), tts::map([&](auto e) -> l_t { return e && (da0 > 1).get(0); }, l0)); };